diff --git a/.github/workflows/build-lint-test.yml b/.github/workflows/build-lint-test.yml index 5977c9bd..f4700475 100644 --- a/.github/workflows/build-lint-test.yml +++ b/.github/workflows/build-lint-test.yml @@ -86,14 +86,12 @@ jobs: 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 @@ -106,7 +104,7 @@ jobs: - name: Install Google Chrome run: yarn install-chrome - name: Update WASM - run: yarn update-wasm + run: PATH="/usr/local/bin/binaryen-version_116/bin:/usr/local/bin/wabt-1.0.34/bin:\$PATH" yarn update-wasm - name: Run e2e tests run: yarn workspace sov-snap run test - name: Require clean working directory diff --git a/external/sov-wasm/Makefile b/external/sov-wasm/Makefile index 79661029..83656aeb 100644 --- a/external/sov-wasm/Makefile +++ b/external/sov-wasm/Makefile @@ -27,8 +27,8 @@ wasm: ## Build the WASM files $(WAT) \ $(PACKAGE_RESTORED) \ $(PACKAGE_RESTORED_OPTIMIZED) - @mv $(PACKAGE_THIN) $(PACKAGE) - @cp $(PACKAGE) $(PACKAGE_SHORT) + @mv $(PACKAGE_THIN) $(PACKAGE_SHORT) + @rm $(PACKAGE) @echo "Package created: $(PACKAGE)" help: ## Display this help screen diff --git a/external/sov-wasm/assets/sov-wasm-0.1.0.wasm b/external/sov-wasm/assets/sov-wasm-0.1.0.wasm deleted file mode 100644 index c45e745f..00000000 Binary files a/external/sov-wasm/assets/sov-wasm-0.1.0.wasm and /dev/null differ