Skip to content

Commit

Permalink
wasmtime: Add FreeBSD x86 check CI Job
Browse files Browse the repository at this point in the history
We accidentally broke the build for FreeBSD when introducing the jit-icache-coherence
crate. To avoid this happening again, add a check job just to ensure that it can build.

See bytecodealliance#5323 and bytecodealliance#5331 for context.
  • Loading branch information
afonso360 committed Jan 1, 2023
1 parent 0c61536 commit e10ad68
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,19 @@ jobs:
- run: rustup target add aarch64-pc-windows-msvc
- run: cargo check -p wasmtime --target aarch64-pc-windows-msvc

# Check whether `wasmtime` cross-compiles to x86_64-unknown-freebsd
# Tracking issue: https://github.com/bytecodealliance/wasmtime/issues/2269
checks_freebsd_x86:
name: Check FreeBSD x86_64
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: true
- uses: ./.github/actions/install-rust
- run: rustup target add x86_64-unknown-freebsd
- run: cargo check --all --target x86_64-unknown-freebsd

fuzz_targets:
name: Fuzz Targets
runs-on: ubuntu-latest
Expand Down

0 comments on commit e10ad68

Please sign in to comment.