diff --git a/.github/workflows/Secret_gateway_tests.yml b/.github/workflows/Secret_gateway_tests.yml index c8c5c5c..1eca92a 100644 --- a/.github/workflows/Secret_gateway_tests.yml +++ b/.github/workflows/Secret_gateway_tests.yml @@ -93,8 +93,17 @@ jobs: target: wasm32-unknown-unknown - name: Install dependencies run: npm --prefix tests/ install - - name: Install wasm-opt - run: sudo apt update && sudo apt install -y binaryen clang + # - name: Install wasm-opt + # run: sudo apt update && sudo apt install -y binaryen clang + - name: Install latest Binaryen + run: | + BINARYEN_VERSION=version_118 + wget https://github.com/WebAssembly/binaryen/releases/download/${BINARYEN_VERSION}/binaryen-${BINARYEN_VERSION}-x86_64-linux.tar.gz + tar -xzf binaryen-${BINARYEN_VERSION}-x86_64-linux.tar.gz + sudo mv binaryen-${BINARYEN_VERSION} /usr/local/binaryen + echo "/usr/local/binaryen/bin" >> $GITHUB_PATH + - name: Verify installation + run: wasm-opt --version - name: Build wasm contract run: make build-mainnet - name: Run integration tests