diff options
| author | Henry <mail@henrygressmann.de> | 2026-04-10 22:32:06 +0200 |
|---|---|---|
| committer | Henry <mail@henrygressmann.de> | 2026-04-10 22:32:06 +0200 |
| commit | 87499c635504e808960e0c6ffffe2b43ca4d6206 (patch) | |
| tree | f2af4cf16762aaa01fa4d27810b36f69a9cd8280 /.github/workflows/test.yaml | |
| parent | 46982ca7379584fce8c611736d800d2e091cf399 (diff) | |
ci: update binaryen
Signed-off-by: Henry <mail@henrygressmann.de>
Diffstat (limited to '.github/workflows/test.yaml')
| -rw-r--r-- | .github/workflows/test.yaml | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 02d47ce..0e0c3c5 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -23,8 +23,17 @@ jobs: components: rust-src rustflags: "" target: wasm32-unknown-unknown - - name: Install Binaryen and WABT - run: sudo apt-get install -y binaryen wabt + - name: Install Binaryen + run: | + BINARYEN_VERSION=version_129 + BINARYEN_DIR="binaryen-${BINARYEN_VERSION}" + BINARYEN_ARCHIVE="${BINARYEN_DIR}-x86_64-linux.tar.gz" + curl -L "https://github.com/WebAssembly/binaryen/releases/download/${BINARYEN_VERSION}/${BINARYEN_ARCHIVE}" -o "/tmp/${BINARYEN_ARCHIVE}" + echo "50b9fa62b9abea752da92ec57e0c555fee578760cd237c40107957715d2976ba /tmp/${BINARYEN_ARCHIVE}" | sha256sum -c - + tar -xzf "/tmp/${BINARYEN_ARCHIVE}" -C /tmp + sudo install "/tmp/${BINARYEN_DIR}/bin/wasm-opt" /usr/local/bin/wasm-opt + - name: Install WABT + run: sudo apt-get install -y wabt - name: Build wasm run: ./examples/rust/build.sh - name: Save artifacts |
