-
-
Notifications
You must be signed in to change notification settings - Fork 948
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test(static): attempt to fix static route tests on Windows+py313
- Loading branch information
Showing
3 changed files
with
24 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# Test wheels various architectures by building out binaries with cibuildwheel. | ||
# Test various architectures by building out binaries with cibuildwheel. | ||
name: test-wheels | ||
|
||
on: | ||
|
@@ -11,38 +11,27 @@ on: | |
pull_request: | ||
branches: | ||
- master | ||
jobs: | ||
# TODO(vytas): Clean up when ready, just fail this fast on the WiP PR for now. | ||
test-windows: | ||
name: "cibuildwheel: ${{ matrix.platform }}" | ||
runs-on: windows-latest | ||
strategy: | ||
fail-fast: true | ||
matrix: | ||
platform: | ||
- "cp313-win_amd64" | ||
|
||
steps: | ||
- name: Checkout repo | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 2 | ||
|
||
- name: Build wheels | ||
uses: pypa/[email protected] | ||
env: | ||
CIBW_ARCHS_LINUX: all | ||
CIBW_BUILD: ${{ matrix.platform }} | ||
|
||
jobs: | ||
test-emulated: | ||
name: "cibuildwheel: ${{ matrix.platform }}" | ||
runs-on: ubuntu-latest | ||
name: "cibuildwheel: ${{ matrix.platform.build }}" | ||
runs-on: ${{ matrix.platform.os }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
platform: | ||
- "cp312-manylinux_aarch64" | ||
- "cp312-manylinux_s390x" | ||
- build: "cp313-manylinux_aarch64" | ||
os: ubuntu-latest | ||
emulation: true | ||
- build: "cp313-manylinux_s390x" | ||
os: ubuntu-latest | ||
emulation: true | ||
- build: "cp313-musllinux_x86_64" | ||
os: ubuntu-latest | ||
- build: "cp313-macosx_arm64" | ||
os: macos-14 | ||
- build: "cp313-win_amd64" | ||
os: windows-latest | ||
|
||
steps: | ||
- name: Checkout repo | ||
|
@@ -52,11 +41,12 @@ jobs: | |
|
||
- name: Set up QEMU | ||
uses: docker/setup-qemu-action@v3 | ||
if: ${{ matrix.platform.emulation }} | ||
with: | ||
platforms: all | ||
|
||
- name: Build wheels | ||
uses: pypa/[email protected] | ||
env: | ||
CIBW_ARCHS_LINUX: all | ||
CIBW_BUILD: ${{ matrix.platform }} | ||
CIBW_BUILD: ${{ matrix.platform.build }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters