Skip to content

Commit

Permalink
Try to rely on binaryen 116 in the CI
Browse files Browse the repository at this point in the history
  • Loading branch information
peaBerberian committed Feb 2, 2024
1 parent b5217ee commit a2d4883
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,20 @@ jobs:
toolchain: stable
# needed for integration & memory tests codecs support
- run: sudo add-apt-repository multiverse && sudo apt update && sudo apt install -y ubuntu-restricted-extras
- run: sudo apt-get -y install binaryen

# Install binaryen version_116 locally: TODO install script
- run: sudo apt-get -y install curl
- run: curl -L https://github.com/WebAssembly/binaryen/releases/download/version_116/binaryen-version_116-x86_64-linux.tar.gz > binaryen.tar.gz
- run: tar xzf binaryen.tar.gz

- run: npm install
- run: rustup target add wasm32-unknown-unknown
- run: npm run build

# After trying and trying and trying to make GitHub actions update PATH, I'm
# just hacking that because I don't want to spend all my life on that shit
# TODO FIXME
- run: cp ./binaryen-version_116/bin/wasm-opt /usr/bin/wasm-opt

# Firefox seems to have issue with integration tests on GitHub actions only
# TODO to check
- run: node tests/integration/run.mjs --bchromehl
Expand Down

0 comments on commit a2d4883

Please sign in to comment.