10
10
runs-on : ubuntu-latest
11
11
strategy :
12
12
matrix :
13
- python-version : ['3.8', '3.9', '3.10', 'pypy-3.8']
13
+ python-version : ['3.8', '3.9', '3.10', '3.11', ' pypy-3.8']
14
14
steps :
15
15
- uses : actions/checkout@v3
16
16
- name : Set up python
20
20
21
21
- name : Create a virtual environment
22
22
run : git submodule init && git submodule update && python3 -m venv ./venv && . venv/bin/activate
23
+ - run : pip install --upgrade setuptools
23
24
- run : pip install -r requirements.txt
24
25
- run : pip install -e .
25
26
- run : py.test
91
92
strategy :
92
93
fail-fast : true
93
94
matrix :
94
- python-version : [ '3.10']
95
- os : [macos-latest, windows-latest, ubuntu-latest]
95
+ include :
96
+ # See https://cibuildwheel.readthedocs.io/en/stable/options/#build-skip for more details.
97
+ - os : macos-latest
98
+ arch : x86_64
99
+ cibw_arch : " x86_64"
100
+ - os : macos-14 # https://github.com/actions/runner-images?tab=readme-ov-file#available-images
101
+ arch : arm64
102
+ cibw_arch : " arm64"
103
+ - os : windows-latest
104
+ cibw_arch : " AMD64"
105
+ - os : ubuntu-latest
106
+ cibw_arch : " i686 x86_64 aarch64"
107
+
96
108
steps :
97
109
- uses : actions/checkout@v3
98
110
@@ -108,15 +120,13 @@ jobs:
108
120
platforms : all
109
121
110
122
- name : Install cibuildwheel
111
- run : python3 -m pip install cibuildwheel==2.4.0
123
+ run : python3 -m pip install cibuildwheel==2.16.5
112
124
113
125
- name : Build wheels
114
126
run : python3 -m cibuildwheel --output-dir wheelhouse
115
127
env :
116
- CIBW_SKIP : " pp* *-win32"
117
- CIBW_ARCHS_WINDOWS : " auto"
118
- CIBW_ARCHS_LINUX : " auto aarch64"
119
- CIBW_ARCHS_MACOS : " x86_64"
128
+ CIBW_BUILD : " cp39-* cp310-* cp311-*" # Only build wheels for c-python 3.9 to 3.11
129
+ CIBW_ARCHS : ${{ matrix.cibw_arch }}
120
130
121
131
- name : Upload wheels to Github
122
132
uses : actions/upload-artifact@v2
0 commit comments