Skip to content

Commit

Permalink
Wasmtime Update (#421)
Browse files Browse the repository at this point in the history
  • Loading branch information
guybedford authored Apr 26, 2024
1 parent 6555ea3 commit 70c6afc
Show file tree
Hide file tree
Showing 301 changed files with 147 additions and 5,724 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,17 @@ jobs:
run: npm run test
if: matrix.node == 'latest'

- name: Cache Conformance Tests
id: cache-conformance-tests
uses: actions/cache@v4
with:
path: tests/gen/*.wasm
key: conformance-wasm-${{ hashFiles('.git/modules/submodules/wasmtime/refs/heads/jco-fork') }}

- name: Generate Conformance Tests
if: steps.cache-conformance-tests.outputs.cache-hit != 'true'
run: cargo xtask generate tests

- name: WASI Preview 2 Conformance
run: cargo test

Expand Down Expand Up @@ -104,5 +115,7 @@ jobs:
- uses: actions/checkout@v4
- name: Install Rust
run: rustup update stable && rustup default stable && rustup component add rustfmt
- name: Remove tests mod
run: rm -r tests/mod.rs
- name: Format source code
run: cargo fmt -- --check
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ package-lock.json
/src/**/*.d.ts.map
/tests/rundir
/tests/output
/tests/gen/*.wasm
Loading

0 comments on commit 70c6afc

Please sign in to comment.