Skip to content

Commit 5ac6e58

Browse files
tohtskyTomoki Ohtsuki
and
Tomoki Ohtsuki
authored
Fix max os build (#107)
* fix wf for macos * resurrect branch condition --------- Co-authored-by: Tomoki Ohtsuki <tomoki_ohtsuki@libinc.co.jp>
1 parent 85d8602 commit 5ac6e58

File tree

1 file changed

+27
-27
lines changed

1 file changed

+27
-27
lines changed

.github/workflows/wheels.yml

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
types:
88
- created
99
env:
10-
cibuildwheel_version: "2.13.0"
10+
cibuildwheel_version: '2.13.0'
1111
jobs:
1212
build_sdist:
1313
name: Build source distribution
@@ -19,7 +19,7 @@ jobs:
1919
- uses: actions/setup-python@v3
2020
name: Install Python
2121
with:
22-
python-version: "3.11"
22+
python-version: '3.11'
2323
- name: Build sdist
2424
run: pip install pybind11 setuptools_scm && python setup.py sdist
2525
- uses: actions/upload-artifact@v2
@@ -29,98 +29,98 @@ jobs:
2929
name: Build wheels on ${{ matrix.os }}
3030
runs-on: ${{ matrix.os }}
3131
env:
32-
MACOSX_DEPLOYMENT_TARGET: "10.9"
33-
CIBW_BUILD_VERBOSITY: "1"
32+
MACOSX_DEPLOYMENT_TARGET: '10.14'
33+
CIBW_BUILD_VERBOSITY: '1'
3434
CIBW_BUILD: "${{ matrix.cibw.build || '*' }}"
3535
CIBW_SKIP: "${{ matrix.cibw.skip || '' }}"
3636
CIBW_ENVIRONMENT: "${{ matrix.cibw.env || '' }}"
3737
CIBW_TEST_COMMAND: pytest {project}/tests
3838
CIBW_TEST_REQUIRES: pytest pytest-mock
39-
CIBW_MANYLINUX_X86_64_IMAGE: "${{ matrix.cibw.manylinux_image }}"
40-
CIBW_MANYLINUX_I686_IMAGE: "${{ matrix.cibw.manylinux_image }}"
41-
CIBW_MANYLINUX_AARCH64_IMAGE: "${{ matrix.cibw.manylinux_image }}"
39+
CIBW_MANYLINUX_X86_64_IMAGE: '${{ matrix.cibw.manylinux_image }}'
40+
CIBW_MANYLINUX_I686_IMAGE: '${{ matrix.cibw.manylinux_image }}'
41+
CIBW_MANYLINUX_AARCH64_IMAGE: '${{ matrix.cibw.manylinux_image }}'
4242
CIBW_ARCHS_LINUX: "${{ matrix.cibw.arch || 'auto' }}"
4343
CIBW_ARCHS_MACOS: "${{ matrix.cibw.arch || 'auto' }}"
4444
strategy:
4545
matrix:
4646
include:
47-
- os: macos-10.15
47+
- os: macos-12
4848
name: mac
4949
cibw:
5050
arch: x86_64
5151
env: CFLAGS='-march=core-avx-i'
52-
build: "cp37* cp38*"
52+
build: 'cp37* cp38*'
5353

54-
- os: macos-10.15
54+
- os: macos-12
5555
name: mac-arm
5656
cibw:
5757
arch: universal2
58-
build: "cp39* cp310* cp311*"
59-
env: ""
58+
build: 'cp39* cp310* cp311*'
59+
env: ''
6060

6161
- os: ubuntu-20.04
6262
name: manylinux1
6363
cibw:
64-
build: "cp37*"
65-
skip: "*musllinux*"
64+
build: 'cp37*'
65+
skip: '*musllinux*'
6666
manylinux_image: manylinux2010
6767
env: CFLAGS='-march=core-avx-i'
6868
arch: auto64
6969

7070
- os: ubuntu-20.04
7171
name: manylinux2014
7272
cibw:
73-
build: "cp38* cp39* cp310* cp311*"
74-
skip: "*musllinux*"
73+
build: 'cp38* cp39* cp310* cp311*'
74+
skip: '*musllinux*'
7575
manylinux_image: manylinux2014
7676
env: CFLAGS='-march=core-avx-i'
7777
arch: auto64
7878

7979
- os: ubuntu-20.04
8080
name: manylinux_aarch64_cp37
8181
cibw:
82-
build: "cp37*"
83-
skip: "*musllinux*"
82+
build: 'cp37*'
83+
skip: '*musllinux*'
8484
manylinux_image: manylinux2014
8585
arch: aarch64
8686

8787
- os: ubuntu-20.04
8888
name: manylinux_aarch64_cp38
8989
cibw:
90-
build: "cp38*"
91-
skip: "*musllinux*"
90+
build: 'cp38*'
91+
skip: '*musllinux*'
9292
manylinux_image: manylinux2014
9393
arch: aarch64
9494

9595
- os: ubuntu-20.04
9696
name: manylinux_aarch64_cp39
9797
cibw:
98-
build: "cp39*"
99-
skip: "*musllinux*"
98+
build: 'cp39*'
99+
skip: '*musllinux*'
100100
manylinux_image: manylinux2014
101101
arch: aarch64
102102

103103
- os: ubuntu-20.04
104104
name: manylinux_aarch64_cp310
105105
cibw:
106-
build: "cp310*"
107-
skip: "*musllinux*"
106+
build: 'cp310*'
107+
skip: '*musllinux*'
108108
manylinux_image: manylinux2014
109109
arch: aarch64
110110

111111
- os: ubuntu-20.04
112112
name: manylinux_aarch64_cp311
113113
cibw:
114-
build: "cp311*"
115-
skip: "*musllinux*"
114+
build: 'cp311*'
115+
skip: '*musllinux*'
116116
manylinux_image: manylinux2014
117117
arch: aarch64
118118

119119
- os: windows-2019
120120
name: win_amd64
121121
architecture: x64
122122
cibw:
123-
build: "cp*win_amd64"
123+
build: 'cp*win_amd64'
124124
env: "CL='/arch:AVX'"
125125

126126
steps:

0 commit comments

Comments
 (0)