Skip to content

Commit

Permalink
install latest version of Binaryen
Browse files Browse the repository at this point in the history
older version did not support sign-ext feature?
  • Loading branch information
kent-3 committed Aug 29, 2024
1 parent f85ac65 commit 59d7cee
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/Secret_gateway_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 59d7cee

Please sign in to comment.