FreeBSD CI: run the GPU crates' tests one at a time (#379)

* FreeBSD CI: run the GPU crates' tests one at a time

The FreeBSD VM's software Vulkan driver crashes (SIGSEGV) when several tests create a wgpu device at once. texturecraft-render's lib and headless tests, and earlier texturecraft-automation's, died this way in every FreeBSD run since Nov 6, with no render or dependency change. photocraft already serializes its GPU tests for the same reason; do the same for the crates that open a device.

* FreeBSD CI: test the whole workspace one test at a time

Excluding the GPU crates from the parallel run changed feature unification, and winit then built without its X11/Wayland backends (compile_error on FreeBSD). Run the whole workspace in one cargo test with --test-threads=1 instead.
This commit is contained in:
FredApps authored and GitHub committed 2026-11-10 14:30:38 +01:00
1 parent 1de6bb21c3
commit 9de96cfee4
1 file changed
+5
+5
View File
@@ -33,4 +33,9 @@ jobs:
uses: storytold/craft-common-actions/.github/workflows/freebsd.yml@main
with:
craft-fonts-ref: aced4137c022f1f587624d48e81ec77e1914a9cc
# The VM's software Vulkan driver crashes (SIGSEGV) when several tests set up a device at
# once (photocraft serializes its GPU tests for the same reason), so tests run one at a
# time. The whole workspace is tested in one command: excluding packages would change
# feature unification and build winit without its X11/Wayland backends.
cargo-test-extra-args: "-- --test-threads=1"
run-package-check: true