diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 22f6d38b70..e1aab7ca4d 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -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