Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 10 additions & 9 deletions .github/workflows/build_secondary_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
os ${{ matrix.cbw_os }}, arch ${{ matrix.arch }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
py: [310, 39, 38]
cbw_os: [manylinux_, musllinux_]
Expand All @@ -29,18 +30,18 @@
with:
platforms: all

- name: Install dependencies
uses: astral-sh/setup-uv@v7
Comment thread Fixed

Check warning

Code scanning / CodeQL

Unpinned tag for a non-immutable Action or reusable workflow Medium

Unpinned 3rd party Action 'Build secondary wheels' step
Uses Step
uses 'astral-sh/setup-uv' with ref 'v7', not a pinned commit hash
Comment thread Fixed

Check warning

Code scanning / CodeQL

Unpinned tag for a non-immutable Action in workflow Medium

Unpinned 3rd party Action 'Build secondary wheels' step
Uses Step
uses 'astral-sh/setup-uv' with ref 'v7', not a pinned commit hash

- name: Build wheels
uses: pypa/cibuildwheel@v3.2.1
env:
CIBW_BEFORE_BUILD: curl -LsSf https://astral.sh/uv/install.sh | sh
CIBW_XBUILD_TOOLS: uv
CIBW_BUILD: >
cp${{ matrix.py }}-${{ matrix.cbw_os }}${{ matrix.arch }}
CIBW_ARCHS: ${{ matrix.arch }}
CIBW_BUILD_FRONTEND: >
${{
matrix.cbw_os == 'manylinux_'
&& 'build[uv]'
|| 'build'
}}
CIBW_BUILD_FRONTEND: build[uv]
CIBW_TEST_REQUIRES: pytest
CIBW_TEST_COMMAND: >
python -X faulthandler {package}/test/debug.py
Expand Down Expand Up @@ -99,6 +100,7 @@
os ${{ matrix.cbw_os }}, arch ${{ matrix.arch }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
py: [310, 39, 38]
os: [
Expand Down Expand Up @@ -149,16 +151,15 @@
- uses: actions/checkout@v3

- name: Install dependencies
run: pip install uv
uses: astral-sh/setup-uv@v7
Comment thread Fixed
Comment thread Fixed

- name: Build wheels
uses: pypa/cibuildwheel@v3.2.1
env:
CIBW_BUILD: >
cp${{ matrix.py }}-${{ matrix.cbw_os }}${{ matrix.arch }}
CIBW_ARCHS: ${{ matrix.arch }}
CIBW_BUILD_FRONTEND: >
${{ matrix.os == 'macos-latest' && 'build' || 'build[uv]' }}
CIBW_BUILD_FRONTEND: build[uv]
CIBW_TEST_REQUIRES: pytest
CIBW_TEST_COMMAND: >
python -X faulthandler {package}/test/debug.py
Expand Down
Loading