From e9d430a4e4cbfb24c8dd4b1e0c9641744e72b1d1 Mon Sep 17 00:00:00 2001 From: Gideon <87426140+GideonBear@users.noreply.github.com> Date: Sat, 1 Nov 2025 11:22:24 +0100 Subject: [PATCH] fix(release): Fix FreeBSD release (#1391) --- .github/workflows/create_release_assets.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/create_release_assets.yml b/.github/workflows/create_release_assets.yml index 1ac408a5..2297ffb8 100644 --- a/.github/workflows/create_release_assets.yml +++ b/.github/workflows/create_release_assets.yml @@ -194,6 +194,14 @@ jobs: - name: Run tests run: cross test --target ${{matrix.target}} + # Running tests on FreeBSD is impossible; see https://github.com/cross-rs/cross/wiki/FAQ#running-bsd-tests + # Not that this is *NOT* the same as the original issue with `ld: cannot find -lgeom`, but a new issue: + # error: test failed, to rerun pass `--lib` + # Caused by: + # could not execute process `/target/x86_64-unknown-freebsd/debug/deps/topgrade-9b1670d87ca863dd` (never executed) + # Caused by: + # No such file or directory (os error 2) + if: ${{ matrix.target != "x86_64-unknown-freebsd" }} # Used `https://github.com/BurntSushi/ripgrep/blob/master/.github/workflows/release.yml` # as a reference.