@@ -3,13 +3,13 @@ name: build
33jobs :
44 wheels-linux :
55 name : Wheels for Linux
6- runs-on : ubuntu-20.04
6+ runs-on : ubuntu-latest
77 steps :
88 - uses : actions/checkout@v2
99 - name : Set up Python
1010 uses : actions/setup-python@v2
1111 with :
12- python-version : 3.8
12+ python-version : 3.11
1313 architecture : x64
1414# - name: Login to Docker Hub
1515# uses: docker/login-action@v1
@@ -21,12 +21,12 @@ jobs:
2121 pip install --upgrade pip setuptools
2222 pip install cython cibuildwheel==$VERSION
2323 env :
24- VERSION : 2.16.2
24+ VERSION : 3.2.1
2525 - name : Build wheels
2626 run : cibuildwheel --output-dir wheelhouse
2727 env :
28- CIBW_BUILD : ' *p3 *'
29- CIBW_BEFORE_BUILD : pip install cython
28+ CIBW_BUILD : ' cp3{9,10,11,12,13,14}-* pp3{9,10,11}- *'
29+ CIBW_ENABLE : ' pypy pypy-eol '
3030 - uses : ncipollo/release-action@v1
3131 name : Upload wheels
3232 if : ${{ github.ref_type == 'tag' }}
@@ -39,13 +39,13 @@ jobs:
3939
4040 wheels-macos :
4141 name : Wheels for OS X
42- runs-on : macos-11
42+ runs-on : macos-latest
4343 steps :
4444 - uses : actions/checkout@v2
4545 - name : Set up Python
4646 uses : actions/setup-python@v2
4747 with :
48- python-version : 3.8
48+ python-version : 3.11
4949 architecture : x64
5050# - name: Login to Docker Hub
5151# uses: docker/login-action@v1
@@ -57,12 +57,12 @@ jobs:
5757 pip install --upgrade pip setuptools
5858 pip install cython cibuildwheel==$VERSION
5959 env :
60- VERSION : 2.16.2
60+ VERSION : 3.2.1
6161 - name : Build wheels
6262 run : cibuildwheel --output-dir wheelhouse
6363 env :
64- CIBW_BUILD : ' *p3 *'
65- CIBW_BEFORE_BUILD : pip install cython
64+ CIBW_BUILD : ' cp3{9,10,11,12,13,14}-* pp3{9,10,11}- *'
65+ CIBW_ENABLE : ' pypy pypy-eol '
6666 CIBW_ARCHS_MACOS : x86_64 arm64
6767 - uses : ncipollo/release-action@v1
6868 name : Upload wheels
8282 - name : Set up Python
8383 uses : actions/setup-python@v2
8484 with :
85- python-version : 3.8
85+ python-version : 3.11
8686 architecture : x64
8787# - name: Login to Docker Hub
8888# uses: docker/login-action@v1
@@ -93,11 +93,12 @@ jobs:
9393 run : |
9494 pip install cibuildwheel==$env:VERSION
9595 env :
96- VERSION : 2.16.2
96+ VERSION : 3.2.1
9797 - name : Build wheels
9898 run : cibuildwheel --output-dir wheelhouse
9999 env :
100- CIBW_BUILD : ' *p3*'
100+ CIBW_BUILD : ' cp3{9,10,11,12,13,14}-* pp3{9,10,11}-*'
101+ CIBW_ENABLE : ' pypy pypy-eol'
101102 CIBW_BEFORE_BUILD : pip install cython
102103 - uses : ncipollo/release-action@v1
103104 name : Upload wheels
@@ -111,7 +112,7 @@ jobs:
111112
112113 wheels-linux-non-x86 :
113114 name : Wheels for Linux non-x86
114- runs-on : ubuntu-20.04
115+ runs-on : ubuntu-latest
115116 strategy :
116117 matrix :
117118 arch :
@@ -128,25 +129,25 @@ jobs:
128129 - name : Set up Python
129130 uses : actions/setup-python@v2
130131 with :
131- python-version : 3.8
132+ python-version : 3.11
132133 architecture : x64
133134 - name : Set up QEMU
134135 id : qemu
135- uses : docker/setup-qemu-action@v1.2.0
136+ uses : docker/setup-qemu-action@v3
136137 with :
137- image : tonistiigi/binfmt:latest
138+ image : tonistiigi/binfmt:qemu-v8.1.5
138139 platforms : all
139140 - name : Install cibuildwheel
140141 run : |
141142 pip install --upgrade pip setuptools
142143 pip install cibuildwheel==$VERSION
143144 env :
144- VERSION : 2.16.2
145+ VERSION : 3.2.1
145146 - name : Build wheels
146147 run : cibuildwheel --output-dir wheelhouse
147148 env :
148- CIBW_BUILD : ' *p3 *'
149- CIBW_BEFORE_BUILD : pip install cython
149+ CIBW_BUILD : ' cp3{9,10,11,12,13,14}-* pp3{9,10,11}- *'
150+ CIBW_ENABLE : ' pypy pypy-eol '
150151 CIBW_ARCHS : ${{ matrix.arch }}
151152 - uses : ncipollo/release-action@v1
152153 name : Upload wheels
0 commit comments