build(FreeBSD): adjust CI Python dependency groups (#5355)

This commit is contained in:
Dave Lane
2026-06-28 13:55:07 -04:00
committed by GitHub
parent 7ecd028664
commit 16a654081e

View File

@ -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 \