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 }}
|
release: ${{ matrix.bsd_release }}
|
||||||
run: |
|
run: |
|
||||||
set -e
|
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
|
--no-python-downloads --no-install-project
|
||||||
|
|
||||||
# fix git safe.directory issues
|
# fix git safe.directory issues
|
||||||
@@ -256,7 +261,8 @@ jobs:
|
|||||||
shell: freebsd {0}
|
shell: freebsd {0}
|
||||||
run: |
|
run: |
|
||||||
cd "${GITHUB_WORKSPACE}/build"
|
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-noncode-lines \
|
||||||
--exclude-throw-branches \
|
--exclude-throw-branches \
|
||||||
--exclude-unreachable-branches \
|
--exclude-unreachable-branches \
|
||||||
|
|||||||
Reference in New Issue
Block a user