Merge pull request #1463 from fitzgen/fix-c-api-tests
Fix wasmtime-c-api tests and run them in CI
This commit is contained in:
12
.github/workflows/main.yml
vendored
12
.github/workflows/main.yml
vendored
@@ -225,7 +225,7 @@ jobs:
|
||||
- run: cargo run -p run-examples
|
||||
|
||||
# Build and test all features except for lightbeam
|
||||
- run: cargo test --features test-programs/test_programs --all --exclude lightbeam --exclude wasmtime-c-api -- --nocapture
|
||||
- run: cargo test --features test-programs/test_programs --all --exclude lightbeam -- --nocapture
|
||||
env:
|
||||
RUST_BACKTRACE: 1
|
||||
RUSTFLAGS: "-D warnings"
|
||||
@@ -247,16 +247,6 @@ jobs:
|
||||
env:
|
||||
RUST_BACKTRACE: 1
|
||||
|
||||
# Build and test c-api examples. Skipping testing on Windows due to
|
||||
# GNU make dependency when executing the wasm-c-api examples.
|
||||
- run: cargo build --package wasmtime-c-api
|
||||
if: matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest'
|
||||
- run: cargo test --package wasmtime-c-api -- --nocapture --test-threads 1
|
||||
if: matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest'
|
||||
continue-on-error: true
|
||||
env:
|
||||
RUST_BACKTRACE: 1
|
||||
|
||||
# Verify that cranelift's code generation is deterministic
|
||||
meta_determinist_check:
|
||||
name: Meta deterministic check
|
||||
|
||||
Reference in New Issue
Block a user