diff --git a/.github/workflows/ci-freebsd.yml b/.github/workflows/ci-freebsd.yml index 4f539b58..1ca370d4 100644 --- a/.github/workflows/ci-freebsd.yml +++ b/.github/workflows/ci-freebsd.yml @@ -143,7 +143,12 @@ jobs: release: ${{ matrix.bsd_release }} run: | set -e - uv sync --locked --group glad --python "/usr/local/bin/python${PYTHON_VERSION}" \ + # Keep FreeBSD off Sunshine's default dependency path: lizardbyte-common[c] + # includes clang-format, which has no FreeBSD wheel and is slow to build. + uv sync --locked --only-group glad --python "/usr/local/bin/python${PYTHON_VERSION}" \ + --no-python-downloads --no-install-project + uv sync --project third-party/lizardbyte-common --locked --only-group test-c \ + --python "/usr/local/bin/python${PYTHON_VERSION}" \ --no-python-downloads --no-install-project # fix git safe.directory issues @@ -256,7 +261,8 @@ jobs: shell: freebsd {0} run: | cd "${GITHUB_WORKSPACE}/build" - uv run --project .. --locked --no-sync gcovr . -r ../src \ + uv run --project "${GITHUB_WORKSPACE}/third-party/lizardbyte-common" \ + --locked --only-group test-c --no-sync gcovr . -r ../src \ --exclude-noncode-lines \ --exclude-throw-branches \ --exclude-unreachable-branches \