Skip to content

Commit a2d4883

Browse files
committed
Try to rely on binaryen 116 in the CI
1 parent b5217ee commit a2d4883

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

.github/workflows/checks.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,20 @@ jobs:
6969
toolchain: stable
7070
# needed for integration & memory tests codecs support
7171
- run: sudo add-apt-repository multiverse && sudo apt update && sudo apt install -y ubuntu-restricted-extras
72-
- run: sudo apt-get -y install binaryen
72+
73+
# Install binaryen version_116 locally: TODO install script
74+
- run: sudo apt-get -y install curl
75+
- run: curl -L https://github.com/WebAssembly/binaryen/releases/download/version_116/binaryen-version_116-x86_64-linux.tar.gz > binaryen.tar.gz
76+
- run: tar xzf binaryen.tar.gz
77+
7378
- run: npm install
7479
- run: rustup target add wasm32-unknown-unknown
75-
- run: npm run build
80+
81+
# After trying and trying and trying to make GitHub actions update PATH, I'm
82+
# just hacking that because I don't want to spend all my life on that shit
83+
# TODO FIXME
84+
- run: cp ./binaryen-version_116/bin/wasm-opt /usr/bin/wasm-opt
85+
7686
# Firefox seems to have issue with integration tests on GitHub actions only
7787
# TODO to check
7888
- run: node tests/integration/run.mjs --bchromehl

0 commit comments

Comments
 (0)