enable wasm llvm tests on CI

This commit is contained in:
Folkert 2022-07-24 21:24:57 +02:00
parent 916ab396c0
commit 505cd8dd2f
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C

View file

@ -19,15 +19,18 @@ jobs:
with:
clean: "true"
- name: check formatting with rustfmt
run: nix develop -c cargo fmt --all -- --check
- name: check code style with clippy
run: nix develop -c cargo clippy --workspace --tests -- --deny warnings
- name: check code style with clippy --release
run: cargo clippy --workspace --tests --release -- --deny warnings
# this needs to be done after clippy because of code generation in wasi-libc-sys
- name: check formatting with rustfmt
run: nix develop -c cargo fmt --all -- --check
- name: execute tests with --release
run: nix develop -c cargo test --locked --release
# we run the llvm wasm tests only on this machine because it is fast and wasm should be cross-platform
- name: execute llvm wasm tests with --release
run: nix develop -c cargo test-gen-llvm-wasm --locked --release