From a2d488306d88c994e0b6c5953535ba965e011a5d Mon Sep 17 00:00:00 2001 From: Paul Berberian Date: Fri, 2 Feb 2024 19:07:29 +0100 Subject: [PATCH] Try to rely on binaryen 116 in the CI --- .github/workflows/checks.yml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) 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