Skip to content

Commit

Permalink
add update-wasm to cli workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
vlopes11 committed Nov 15, 2023
1 parent 857757e commit 95304ed
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/build-lint-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,22 @@ jobs:
with:
node-version-file: '.nvmrc'
cache: 'yarn'
- name: Install WASM tools
run: |
PACKAGE_URL="https://github.com/WebAssembly/binaryen/releases/download/version_116/binaryen-version_116-x86_64-linux.tar.gz"
INSTALL_PATH="/usr/local/bin"
curl -L $PACKAGE_URL | tar xz -C $INSTALL_PATH
echo "export PATH=$INSTALL_PATH/binaryen-version_116/bin:\$PATH" >> $GITHUB_ENV
shell: bash
- name: Install WABT
run: |
PACKAGE_URL="https://github.com/WebAssembly/wabt/releases/download/1.0.34/wabt-1.0.34-ubuntu.tar.gz"
INSTALL_PATH="/usr/local/bin"
curl -L $PACKAGE_URL | tar xz -C $INSTALL_PATH
echo "export PATH=$INSTALL_PATH/wabt-1.0.34/bin:\$PATH" >> $GITHUB_ENV
shell: bash
- name: Setup Rust toolchain
run: rustup target add wasm32-wasi
- name: Restore snap build cache
uses: actions/cache@v3
with:
Expand All @@ -89,6 +105,8 @@ jobs:
- run: yarn install --immutable
- name: Install Google Chrome
run: yarn install-chrome
- name: Update WASM
run: yarn update-wasm
- name: Run e2e tests
run: yarn workspace sov-snap run test
- name: Require clean working directory
Expand Down

0 comments on commit 95304ed

Please sign in to comment.