Skip to content

Commit

Permalink
Update wasm-opt in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
daxpedda committed Mar 8, 2024
1 parent 809af53 commit 19a6b59
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -258,9 +258,10 @@ jobs:
- run: rustup target add wasm32-unknown-unknown
- run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh -s -- -f
- run: |
curl -L https://github.com/WebAssembly/binaryen/releases/download/version_112/binaryen-version_112-x86_64-linux.tar.gz -sSf > binaryen-version_112-x86_64-linux.tar.gz
tar -xz -f binaryen-version_112-x86_64-linux.tar.gz binaryen-version_112/bin/wasm2js
echo "$PWD/binaryen-version_112/bin" >> $GITHUB_PATH
curl -L https://github.com/WebAssembly/binaryen/releases/download/version_116/binaryen-version_116-x86_64-linux.tar.gz -sSf > binaryen-version_116-x86_64-linux.tar.gz
tar -xz -f binaryen-version_116-x86_64-linux.tar.gz binaryen-version_116/bin/wasm2js
tar -xz -f binaryen-version_116-x86_64-linux.tar.gz binaryen-version_116/bin/wasm-opt
echo "$PWD/binaryen-version_116/bin" >> $GITHUB_PATH
- run: |
cargo build -p wasm-bindgen-cli
ln -snf `pwd`/target/debug/wasm-bindgen $(dirname `which cargo`)/wasm-bindgen
Expand Down

0 comments on commit 19a6b59

Please sign in to comment.