summaryrefslogtreecommitdiff
path: root/.github/workflows/test.yaml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/test.yaml')
-rw-r--r--.github/workflows/test.yaml19
1 files changed, 15 insertions, 4 deletions
diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml
index 05f7397..6f6fc10 100644
--- a/.github/workflows/test.yaml
+++ b/.github/workflows/test.yaml
@@ -16,8 +16,14 @@ jobs:
with:
submodules: true
- - name: Install stable Rust toolchain
- run: rustup update stable
+ - name: Install stable Rust toolchain & Binaryen
+ run: |
+ rustup update stable
+ rustup update nightly
+ sudo apt-get install -y binaryen
+
+ - name: Build wasm
+ run: ./examples/rust/build.sh
- name: Build (stable)
run: cargo +stable build --workspace
@@ -37,8 +43,13 @@ jobs:
with:
submodules: true
- - name: Install nightly Rust toolchain
- run: rustup update nightly
+ - name: Install nightly Rust toolchain & Binaryen
+ run: |
+ rustup update nightly
+ sudo apt-get install -y binaryen
+
+ - name: Build wasm
+ run: ./examples/rust/build.sh
- name: Build (nightly, no default features)
run: cargo +nightly build --workspace --no-default-features