Skip to content

Commit 3228ce2

Browse files
committed
Set auto64 as default, update base os images and optimize cibw skips.
1 parent e47ecfa commit 3228ce2

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

.github/workflows/cibuildwheel.yml

+6-8
Original file line numberDiff line numberDiff line change
@@ -71,16 +71,13 @@ jobs:
7171
needs: [build_sdist, testing]
7272
name: Build wheels on ${{ matrix.os }} (${{ matrix.cibw_archs }})
7373
runs-on: ${{ matrix.os }}
74-
env:
75-
CIBW_ARCHS_MACOS: "x86_64 arm64"
76-
CIBW_SKIP: "*_i686 *-win32 pp* *-musllinux_*"
7774
strategy:
7875
fail-fast: ${{ inputs.fail-fast }}
7976
matrix:
80-
os: [ubuntu-20.04, windows-2019, macos-12]
81-
cibw_archs: ["auto"]
77+
os: [ubuntu-22.04, windows-2022, macos-13, macos-13-arm64]
78+
CIBW_ARCHS: ["auto64"]
8279
include:
83-
- os: ubuntu-20.04
80+
- os: ubuntu-22.04
8481
cibw_archs: "aarch64"
8582
steps:
8683
- uses: actions/checkout@v4
@@ -100,14 +97,14 @@ jobs:
10097

10198
- name: Install cibuildwheel
10299
run: |
103-
python -m pip install cibuildwheel==2.11.2
100+
python -m pip install cibuildwheel
104101
105102
- name: Build wheels for CPython 3.10+
106103
run: |
107104
python -m cibuildwheel --output-dir dist
108105
env:
109106
CIBW_BUILD: "cp3*"
110-
CIBW_SKIP: "{c,p}p3{6..9}-*"
107+
CIBW_SKIP: "{c,p}p3{6..9}-* pp* *-musllinux_*"
111108
CIBW_MANYLINUX_X86_64_IMAGE: manylinux_2_28
112109
CIBW_MANYLINUX_AARCH64_IMAGE: manylinux_2_28
113110
CIBW_BEFORE_ALL_LINUX: dnf install -y atlas-devel
@@ -119,6 +116,7 @@ jobs:
119116
python -m cibuildwheel --output-dir dist
120117
env:
121118
CIBW_BUILD: "cp37-* cp38-* cp39-*"
119+
CIBW_SKIP: "pp* *-musllinux_*"
122120
CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014
123121
CIBW_MANYLINUX_AARCH64_IMAGE: manylinux2014
124122
CIBW_BEFORE_ALL_LINUX: yum install -y atlas-devel

0 commit comments

Comments
 (0)