Skip to content
This repository was archived by the owner on Jul 14, 2025. It is now read-only.

Commit d51f3f7

Browse files
committed
added build tool installation step in release CI
Signed-off-by: Jiaxiao Zhou <[email protected]>
1 parent aa11fe1 commit d51f3f7

File tree

1 file changed

+24
-2
lines changed

1 file changed

+24
-2
lines changed

.github/workflows/release.yml

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,33 @@ jobs:
4141
- uses: actions/checkout@v1
4242
- uses: Swatinem/rust-cache@v1
4343

44-
- name: "add rustup wasm targets"
44+
#
45+
# Install build tools
46+
#
47+
- name: "Install Dependencies on Linux"
48+
run: make install-deps
49+
if: ${{ fromJSON(matrix.config.os == 'ubuntu-latest') }}
50+
51+
- name: "Install Dependencies on MacOS"
52+
run: make install-deps-macos
53+
if: ${{ fromJSON(matrix.config.os == 'macos-latest') }}
54+
55+
- name: "Install make tool on Windows"
56+
run: choco install make -y
57+
if: ${{ fromJSON(matrix.config.os == 'windows-latest') }}
58+
59+
- name: "Install Dependencies on Windows"
60+
run: make install-deps-win
61+
if: ${{ fromJSON(matrix.config.os == 'windows-latest') }}
62+
63+
- name: "Install Rust Wasm targets"
4564
run: |
4665
rustup target add wasm32-wasi
4766
rustup target add wasm32-unknown-unknown
48-
rustup target add aarch64-apple-darwin
67+
rustup target add aarch64-apple-darwin
68+
69+
- name: "Install wit-bindgen-cli"
70+
run: cargo install --git https://github.com/bytecodealliance/wit-bindgen wit-bindgen-cli --tag v0.2.0
4971

5072
- run : choco install openssl
5173
if: ${{ fromJSON(matrix.config.os == 'windows-latest') }}

0 commit comments

Comments
 (0)