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.yaml29
1 files changed, 24 insertions, 5 deletions
diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml
index 0a3f092..f93c5a4 100644
--- a/.github/workflows/test.yaml
+++ b/.github/workflows/test.yaml
@@ -50,7 +50,10 @@ jobs:
run: cargo +stable test --workspace && cargo +stable run --example wasm-rust all
- name: Run MVP testsuite
- run: cargo +stable test-mvp
+ run: cargo +stable test-wasm-1
+
+ - name: Run 2.0 testsuite
+ run: cargo +stable test-wasm-2
test-no-std:
needs: build-wasm
@@ -77,8 +80,11 @@ jobs:
- name: Run tests (nightly, no default features)
run: cargo +nightly test --workspace --no-default-features && cargo +nightly run --example wasm-rust all
- - name: Run MVP testsuite (nightly)
- run: cargo +nightly test-mvp
+ - name: Run MVP testsuite
+ run: cargo +nightly test-wasm-1
+
+ - name: Run 2.0 testsuite
+ run: cargo +nightly test-wasm-2
test-m1:
needs: build-wasm
@@ -99,10 +105,15 @@ jobs:
- name: Build (stable)
run: cargo +stable build
+
- name: Run tests (stable)
run: cargo +stable test
+
- name: Run MVP testsuite
- run: cargo +stable test-mvp
+ run: cargo +stable test-wasm-1
+
+ - name: Run 2.0 testsuite
+ run: cargo +stable test-wasm-2
test-armv7:
needs: build-wasm
@@ -131,6 +142,14 @@ jobs:
uses: houseabsolute/actions-rust-cross@v0.0.13
with:
command: test
- args: "-p tinywasm --test test-mvp --release -- --enable"
+ args: "-p tinywasm --test test-wasm-1 --release"
+ target: armv7-unknown-linux-gnueabihf
+ toolchain: nightly
+
+ - name: Run 2.0 testsuite
+ uses: houseabsolute/actions-rust-cross@v0.0.13
+ with:
+ command: test
+ args: "-p tinywasm --test test-wasm-2 --release"
target: armv7-unknown-linux-gnueabihf
toolchain: nightly