fix: run native model tests in the trixie CI job

Linking MoonBit's native runtime on the bullseye runner fails with
undefined pthread symbols (glibc 2.31 needs -lpthread), so the check
job now only runs the wasm-gc tests and the native model tests move to
the debian:trixie job that already builds natively.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
SpriteandClaude Opus 5.5 committed 2026-11-22 22:58:12 +00:00
1 parent 5d74201d0c
commit b18ab7aed1
1 file changed
+4 -3
+4 -3
View File
@@ -26,10 +26,10 @@ jobs:
moon check --target native --deny-warn moon check --target native --deny-warn
moon fmt --check moon fmt --check
# Native tests run in the trixie job: linking MoonBit's runtime needs
# -lpthread on bullseye's glibc 2.31.
- name: moon test (pure packages) - name: moon test (pure packages)
run: | run: moon test --target wasm-gc
moon test --target wasm-gc
moon test --target native -p model
# Native build + headless smoke test. Debian bullseye (the default runner # Native build + headless smoke test. Debian bullseye (the default runner
# image) has no libwireplumber-0.5 and a too-old GTK4, so this job runs in # image) has no libwireplumber-0.5 and a too-old GTK4, so this job runs in
@@ -65,6 +65,7 @@ jobs:
- name: Build (native, links PipeWire/WirePlumber/GTK4) - name: Build (native, links PipeWire/WirePlumber/GTK4)
run: | run: |
moon test --target native -p model
moon build --target native moon build --target native
ldd _build/native/debug/build/cmd/moonmix/moonmix.exe | grep -E 'wireplumber|pipewire|gtk-4' ldd _build/native/debug/build/cmd/moonmix/moonmix.exe | grep -E 'wireplumber|pipewire|gtk-4'