Skip to content

Commit

Permalink
added build tool installation step in release CI
Browse files Browse the repository at this point in the history
Signed-off-by: Jiaxiao Zhou <[email protected]>
  • Loading branch information
Mossaka committed Feb 6, 2023
1 parent aa11fe1 commit d51f3f7
Showing 1 changed file with 24 additions and 2 deletions.
26 changes: 24 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,33 @@ jobs:
- uses: actions/checkout@v1
- uses: Swatinem/rust-cache@v1

- name: "add rustup wasm targets"
#
# Install build tools
#
- name: "Install Dependencies on Linux"
run: make install-deps
if: ${{ fromJSON(matrix.config.os == 'ubuntu-latest') }}

- name: "Install Dependencies on MacOS"
run: make install-deps-macos
if: ${{ fromJSON(matrix.config.os == 'macos-latest') }}

- name: "Install make tool on Windows"
run: choco install make -y
if: ${{ fromJSON(matrix.config.os == 'windows-latest') }}

- name: "Install Dependencies on Windows"
run: make install-deps-win
if: ${{ fromJSON(matrix.config.os == 'windows-latest') }}

- name: "Install Rust Wasm targets"
run: |
rustup target add wasm32-wasi
rustup target add wasm32-unknown-unknown
rustup target add aarch64-apple-darwin
rustup target add aarch64-apple-darwin
- name: "Install wit-bindgen-cli"
run: cargo install --git https://github.com/bytecodealliance/wit-bindgen wit-bindgen-cli --tag v0.2.0

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

0 comments on commit d51f3f7

Please sign in to comment.