From 9de96cfee4dcfab788f2ba981dfd23a6e7c69eb3 Mon Sep 17 00:00:00 2001 From: FredApps <153173854+FredApps@users.noreply.github.com> Date: Tue, 10 Nov 2026 14:30:38 +0100 Subject: [PATCH] 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. --- .github/workflows/freebsd.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/freebsd.yml b/.github/workflows/freebsd.yml index 9f64bbdd..442b9fd7 100644 --- a/.github/workflows/freebsd.yml +++ b/.github/workflows/freebsd.yml @@ -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