Skip to content

Commit b2a1ac4

Browse files
committed
wasmtime: Add FreeBSD x86 check CI Job
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.
1 parent 0c61536 commit b2a1ac4

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

.github/workflows/main.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,21 @@ jobs:
186186
- run: rustup target add aarch64-pc-windows-msvc
187187
- run: cargo check -p wasmtime --target aarch64-pc-windows-msvc
188188

189+
# Check whether `wasmtime` cross-compiles to x86_64-unknown-freebsd
190+
# Tracking issue: https://github.com/bytecodealliance/wasmtime/issues/2269
191+
checks_freebsd_x86:
192+
name: Check FreeBSD x86_64
193+
runs-on: ubuntu-latest
194+
steps:
195+
- uses: actions/checkout@v3
196+
with:
197+
submodules: true
198+
- uses: ./.github/actions/install-rust
199+
- run: rustup target add x86_64-unknown-freebsd
200+
# TODO: We aren't building with default features since the `ittapi` crate
201+
# fails to compile on freebsd.
202+
- run: cargo check -p wasmtime --no-default-features --features cranelift,wat,async,cache --target x86_64-unknown-freebsd
203+
189204
fuzz_targets:
190205
name: Fuzz Targets
191206
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)