mirror of
https://github.com/LizardByte/Sunshine.git
synced 2026-08-18 02:55:12 +00:00
build(FreeBSD): adjust CI Python dependency groups (#5355)
This commit is contained in:
10
.github/workflows/ci-freebsd.yml
vendored
10
.github/workflows/ci-freebsd.yml
vendored
@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user