diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml index 285880db9..4c00542d3 100644 --- a/.github/workflows/ci-build.yml +++ b/.github/workflows/ci-build.yml @@ -9,10 +9,12 @@ on: paths-ignore: - "**/*.md" - ".github/workflows/standalone.yml" + - ".github/workflows/rust-static-lib.yml" pull_request: paths-ignore: - "**/*.md" - ".github/workflows/standalone.yml" + - ".github/workflows/rust-static-lib.yml" jobs: build_ubuntu: diff --git a/.github/workflows/rust-static-lib.yml b/.github/workflows/rust-static-lib.yml index bdead3f96..e483549d3 100644 --- a/.github/workflows/rust-static-lib.yml +++ b/.github/workflows/rust-static-lib.yml @@ -6,22 +6,15 @@ concurrency: on: push: - branches: - - master - - "rust/*" - paths: - - ".github/workflows/rust-static-lib.yml" - - "bindings/rust/**" - - "include/api/wasmedge/**" - - "lib/api/**" + paths-ignore: + - "**/*.md" + - ".github/workflows/standalone.yml" + - ".github/workflows/ci-build.yml" pull_request: - branches: - - master - paths: - - ".github/workflows/rust-static-lib.yml" - - "bindings/rust/**" - - "include/api/wasmedge/**" - - "lib/api/**" + paths-ignore: + - "**/*.md" + - ".github/workflows/standalone.yml" + - ".github/workflows/ci-build.yml" jobs: build_ubuntu: @@ -30,7 +23,7 @@ jobs: strategy: matrix: os: [ubuntu-22.04] - rust: [1.69, 1.68] + rust: [1.73, 1.72, 1.71] container: image: wasmedge/wasmedge:latest @@ -39,12 +32,15 @@ jobs: with: fetch-depth: 0 - - name: Build WasmEdge with Release mode + - name: Install dependencies run: | apt update apt install -y software-properties-common libboost-all-dev llvm-15-dev liblld-15-dev ninja-build - cmake cmake -Bbuild -GNinja -DCMAKE_BUILD_TYPE=Release -DWASMEDGE_LINK_LLVM_STATIC=ON -DWASMEDGE_BUILD_SHARED_LIB=OFF -DWASMEDGE_BUILD_STATIC_LIB=ON -DWASMEDGE_LINK_TOOLS_STATIC=ON -DWASMEDGE_BUILD_PLUGINS=OFF . - cmake --build build + + # - name: Build WasmEdge with Release mode + # run: | + # cmake -Bbuild -GNinja -DCMAKE_BUILD_TYPE=Release -DWASMEDGE_LINK_LLVM_STATIC=ON -DWASMEDGE_BUILD_SHARED_LIB=OFF -DWASMEDGE_BUILD_STATIC_LIB=ON -DWASMEDGE_BUILD_TOOLS=OFF -DWASMEDGE_BUILD_PLUGINS=OFF . + # cmake --build build - name: Install Rust-nightly uses: dtolnay/rust-toolchain@nightly diff --git a/.github/workflows/standalone.yml b/.github/workflows/standalone.yml index e8d6f74c9..537dc202b 100644 --- a/.github/workflows/standalone.yml +++ b/.github/workflows/standalone.yml @@ -9,11 +9,13 @@ on: paths-ignore: - "**/*.md" - ".github/workflows/ci-build.yml" + - ".github/workflows/rust-static-lib.yml" pull_request: paths-ignore: - "**/*.md" - ".github/workflows/ci-build.yml" + - ".github/workflows/rust-static-lib.yml" jobs: build_ubuntu_2204: diff --git a/Cargo.toml b/Cargo.toml index 2b684ac9b..2fb435f8f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,7 +8,7 @@ license = "Apache-2.0" name = "wasmedge-sdk" readme = "README.md" repository = "https://github.com/WasmEdge/wasmedge-rust-sdk" -version = "0.13.1" +version = "0.13.2" [dependencies] anyhow = "1.0" diff --git a/README.md b/README.md index fe3379e1b..8b33300c1 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,7 @@ This crate depends on the WasmEdge C API. In linux/macOS the crate can download | wasmedge-sdk | WasmEdge lib | wasmedge-sys | wasmedge-types| wasmedge-macro| async-wasi| | :-----------: | :-----------: | :-----------: | :-----------: | :-----------: | :-------: | + | 0.13.2 | 0.13.5 | 0.17.4 | 0.4.4 | 0.6.1 | 0.1.0 | | 0.13.1 | 0.13.5 | 0.17.3 | 0.4.4 | 0.6.1 | 0.1.0 | | 0.13.0 | 0.13.5 | 0.17.3 | 0.4.4 | 0.6.1 | 0.1.0 | | 0.12.2 | 0.13.4 | 0.17.2 | 0.4.4 | 0.6.1 | 0.1.0 | diff --git a/crates/wasmedge-sys/src/lib.rs b/crates/wasmedge-sys/src/lib.rs index 81aa0f9a3..aae2e6ad5 100644 --- a/crates/wasmedge-sys/src/lib.rs +++ b/crates/wasmedge-sys/src/lib.rs @@ -19,6 +19,7 @@ //! //! | wasmedge-sdk | WasmEdge lib | wasmedge-sys | wasmedge-types| wasmedge-macro| async-wasi| //! | :-----------: | :-----------: | :-----------: | :-----------: | :-----------: | :-------: | +//! | 0.13.2 | 0.13.5 | 0.17.4 | 0.4.4 | 0.6.1 | 0.1.0 | //! | 0.13.1 | 0.13.5 | 0.17.3 | 0.4.4 | 0.6.1 | 0.1.0 | //! | 0.13.0 | 0.13.5 | 0.17.3 | 0.4.4 | 0.6.1 | 0.1.0 | //! | 0.12.2 | 0.13.4 | 0.17.2 | 0.4.4 | 0.6.1 | 0.1.0 | diff --git a/src/lib.rs b/src/lib.rs index 67a2bc8a1..3d6a664e7 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -25,6 +25,7 @@ //! //! | wasmedge-sdk | WasmEdge lib | wasmedge-sys | wasmedge-types| wasmedge-macro| async-wasi| //! | :-----------: | :-----------: | :-----------: | :-----------: | :-----------: | :-------: | +//! | 0.13.2 | 0.13.5 | 0.17.4 | 0.4.4 | 0.6.1 | 0.1.0 | //! | 0.13.1 | 0.13.5 | 0.17.3 | 0.4.4 | 0.6.1 | 0.1.0 | //! | 0.13.0 | 0.13.5 | 0.17.3 | 0.4.4 | 0.6.1 | 0.1.0 | //! | 0.12.2 | 0.13.4 | 0.17.2 | 0.4.4 | 0.6.1 | 0.1.0 |