Skip to content

Commit

Permalink
Merge branch 'main' into nested-interfaces
Browse files Browse the repository at this point in the history
  • Loading branch information
macovedj committed Sep 15, 2024
2 parents fc9b6bb + fb403c3 commit 09737ba
Show file tree
Hide file tree
Showing 1,695 changed files with 136,447 additions and 26,732 deletions.
24 changes: 20 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,21 +78,35 @@ jobs:
- os: ubuntu-latest
rust: beta
- os: ubuntu-latest
rust: nightly
rust: nightly-2024-09-10
- os: macos-latest
rust: default
- os: windows-latest
rust: default
- os: ubuntu-latest
rust: msrv
# skip testing crates that require wasmtime since wasmtime has a
# more aggressive msrv than wasm-tools
flags: --exclude fuzz-stats --exclude wit-component --exclude wasm-mutate-stats
# this is the rust nightly that oss-fuzz currently uses so we don't
# want this to break.
- os: ubuntu-latest
rust: nightly-2024-02-12
# test that if `RUST_BACKTRACE=1` is set in the environment that all
# tests with blessed error messages still pass.
- os: ubuntu-latest
rust: default
env:
RUST_BACKTRACE: 1
env: ${{ matrix.env || fromJSON('{}') }}
steps:
- uses: actions/checkout@v4
with:
submodules: true
- uses: bytecodealliance/wasmtime/.github/actions/[email protected]
with:
toolchain: ${{ matrix.rust }}
- run: cargo test --locked --all
- run: cargo test --locked --all ${{ matrix.flags }}

test_extra_features:
name: Test with extra Cargo features
Expand Down Expand Up @@ -226,6 +240,8 @@ jobs:
- run: cargo check --no-default-features -p wasmparser --target x86_64-unknown-none --features validate,serde,no-hash-maps
- run: cargo check --no-default-features -p wasmparser --features std
- run: cargo check --no-default-features -p wasmparser --features validate
- run: cargo check --no-default-features -p wasmparser --features features
- run: cargo check --no-default-features -p wasmparser --features features,validate
- run: cargo check --no-default-features -p wasmparser --features no-hash-maps
- run: cargo check --no-default-features -p wasmparser --features serde
- run: cargo check --no-default-features -p wasmparser --features serde,no-hash-maps
Expand Down Expand Up @@ -260,10 +276,10 @@ jobs:
submodules: true
- uses: bytecodealliance/wasmtime/.github/actions/[email protected]
- run: rustc ci/publish.rs
# Make sure the tree is publish-able as-is
- run: ./publish verify
# Make sure we can bump version numbers for the next release
- run: ./publish bump
# Make sure the tree is publish-able as-is
- run: ./publish verify

# "Join node" which the merge queue waits on.
ci-status:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/release-process.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ on:
required: false
default: 'bump'

permissions:
contents: write
pull-requests: write

jobs:
release_process:
name: Run the release process
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,6 @@ publish
*.wat
test.config

.DS_Store
.idea
.vscode
Loading

0 comments on commit 09737ba

Please sign in to comment.