diff options
author | Yuta Saito <kateinoigakukun@gmail.com> | 2022-07-06 02:14:07 +0000 |
---|---|---|
committer | Yuta Saito <kateinoigakukun@gmail.com> | 2022-07-06 11:59:38 +0900 |
commit | 76619bbb1198082e94716874777f282c59d2cc70 (patch) | |
tree | 60bee07e8336e874a6f820f5ba0c9c3d2e00a87f /.github | |
parent | eaeb130b11fefe91aaf61f294ea32af76dada74f (diff) |
[wasm] get rid of workaround use of older binaryen and update to latest
We no longer need to use older version of binaryen since the blocker
issue has been resolved https://github.com/WebAssembly/binaryen/issues/4401
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/6091
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/wasm.yml | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/.github/workflows/wasm.yml b/.github/workflows/wasm.yml index 5459db8ae2..83688fbaca 100644 --- a/.github/workflows/wasm.yml +++ b/.github/workflows/wasm.yml @@ -34,8 +34,7 @@ jobs: GITPULLOPTIONS: --no-tags origin ${{github.ref}} WASI_SDK_VERSION_MAJOR: 14 WASI_SDK_VERSION_MINOR: 0 - # Use older version, which uses glibc instead of musl, to avoid https://github.com/WebAssembly/binaryen/issues/4401 - BINARYEN_VERSION: 91 + BINARYEN_VERSION: 109 WASMTIME_VERSION: v0.33.0 runs-on: ubuntu-20.04 if: ${{ !contains(github.event.head_commit.message, '[DOC]') && !contains(github.event.pull_request.labels.*.name, 'Documentation') }} @@ -67,10 +66,10 @@ jobs: wget -O - "$wasmtime_url" | tar xJf - sudo ln -fs "$PWD/wasmtime-${WASMTIME_VERSION}-x86_64-linux/wasmtime" /usr/local/bin/wasmtime - binaryen_tarball="binaryen-version_${BINARYEN_VERSION}-x86-linux.tar.gz" + binaryen_tarball="binaryen-version_${BINARYEN_VERSION}-x86_64-linux.tar.gz" binaryen_url="https://github.com/WebAssembly/binaryen/releases/download/version_${BINARYEN_VERSION}/${binaryen_tarball}" wget -O - "$binaryen_url" | tar xfz - - sudo ln -fs "$PWD/binaryen-version_${BINARYEN_VERSION}/wasm-opt" /usr/local/bin/wasm-opt + sudo ln -fs "$PWD/binaryen-version_${BINARYEN_VERSION}/bin/wasm-opt" /usr/local/bin/wasm-opt working-directory: src - name: Set ENV run: | |