Skip to content

Commit 3a1811c

Browse files
author
Sam Hatchett
committed
Update build-wheels.yml
1 parent c40f3f6 commit 3a1811c

1 file changed

Lines changed: 7 additions & 5 deletions

File tree

.github/workflows/build-wheels.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,23 +11,27 @@ jobs:
1111
fail-fast: false
1212
matrix:
1313
os: [windows-latest, ubuntu-latest, macos-latest]
14-
python_tag: [cp39, cp310, cp311, cp312, cp313, cp314]
14+
python_tag: [cp39, cp310, cp311, cp312, cp313]
1515

1616
steps:
1717
- name: Checkout repo
1818
uses: actions/checkout@v4
1919
with:
2020
submodules: true
2121

22+
- name: Install Python
23+
uses: actions/setup-python@v5
24+
with:
25+
python-version: "3.12"
26+
2227
- name: Install cibuildwheel
2328
run: python -m pip install cibuildwheel==2.22.0
2429

2530
- name: Build wheels
2631
run: python -m cibuildwheel --output-dir wheelhouse owa-epanet
2732
env:
28-
# Build the specific Python tag (e.g. cp39, cp310) for the current matrix entry
2933
CIBW_BUILD: ${{ matrix.python_tag }}-*
30-
# Use manylinux_2_28 (dnf-based) for Linux builds
34+
CIBW_SKIP: "*-manylinux_i686 *-musllinux_* *-win32"
3135
CIBW_MANYLINUX_X86_64_IMAGE: manylinux_2_28
3236
CIBW_BEFORE_ALL_LINUX: git submodule update --init && dnf install swig -y
3337
CIBW_BEFORE_ALL_WINDOWS: git submodule update && choco install swig
@@ -37,8 +41,6 @@ jobs:
3741
CIBW_TEST_COMMAND: pytest {package}
3842
CIBW_BEFORE_TEST: pip install scikit-build cmake
3943
CIBW_TEST_REQUIRES: pytest
40-
# skip 32-bit manylinux and win32 test variants
41-
CIBW_TEST_SKIP: "*-win32 *-manylinux_i686"
4244

4345
- name: Store artifacts
4446
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)