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 b2a1ac4
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,21 @@ 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
# TODO: We aren't building with default features since the `ittapi` crate
# fails to compile on freebsd.
- run: cargo check -p wasmtime --no-default-features --features cranelift,wat,async,cache --target x86_64-unknown-freebsd

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

0 comments on commit b2a1ac4

Please sign in to comment.