Skip to content

Commit 5025833

Browse files
committed
Validate cibuildwheel process
1 parent 4fc25f0 commit 5025833

File tree

1 file changed

+114
-0
lines changed

1 file changed

+114
-0
lines changed

.github/workflows/build.yml

Lines changed: 114 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,3 +91,117 @@ jobs:
9191
run: ./ci/build.sh
9292
env:
9393
KRB5_VER: heimdal
94+
95+
# FIXME: Remove once validated that it works
96+
wheel-windows:
97+
runs-on: windows-latest
98+
strategy:
99+
matrix:
100+
name:
101+
- win-wheel-3.10
102+
- win-wheel-3.9
103+
- win-wheel-3.8
104+
- win-wheel-3.7
105+
- win-wheel-3.6
106+
arch:
107+
- win_amd64
108+
- win32
109+
include:
110+
- name: win-wheel-3.10
111+
pyenv: cp310
112+
- name: win-wheel-3.9
113+
pyenv: cp39
114+
- name: win-wheel-3.8
115+
pyenv: cp38
116+
- name: win-wheel-3.7
117+
pyenv: cp37
118+
- name: win-wheel-3.6
119+
pyenv: cp36
120+
121+
steps:
122+
- name: Check out code
123+
uses: actions/checkout@v2
124+
125+
- name: build wheel
126+
uses: pypa/[email protected]
127+
env:
128+
CIBW_ARCHS: all
129+
CIBW_BUILD: ${{ matrix.pyenv }}-${{ matrix.arch }}
130+
CIBW_BUILD_VERBOSITY: 1
131+
132+
- uses: actions/upload-artifact@v2
133+
with:
134+
path: ./wheelhouse/*.whl
135+
name: artifact
136+
137+
wheel-macos:
138+
runs-on: macos-10.15
139+
140+
strategy:
141+
matrix:
142+
name:
143+
- macos-wheel-3.10
144+
- macos-wheel-3.9
145+
- macos-wheel-3.8
146+
- macos-wheel-3.7
147+
- macos-wheel-3.6
148+
arch:
149+
- x86_64
150+
- arm64
151+
include:
152+
- name: macos-wheel-3.10
153+
pyenv: cp310
154+
- name: macos-wheel-3.9
155+
pyenv: cp39
156+
- name: macos-wheel-3.8
157+
pyenv: cp38
158+
- name: macos-wheel-3.7
159+
pyenv: cp37
160+
- name: macos-wheel-3.6
161+
pyenv: cp36
162+
exclude:
163+
- name: macos-wheel-3.7
164+
arch: arm64
165+
- name: macos-wheel-3.6
166+
arch: arm64
167+
168+
steps:
169+
- name: Check out code
170+
uses: actions/checkout@v2
171+
172+
- name: build wheel
173+
uses: pypa/[email protected]
174+
env:
175+
CIBW_ARCHS: all
176+
CIBW_TEST_SKIP: '*_arm64'
177+
CIBW_BUILD: ${{ matrix.pyenv }}-macosx_${{ matrix.arch }}
178+
CIBW_BUILD_VERBOSITY: 1
179+
180+
- uses: actions/upload-artifact@v2
181+
with:
182+
path: ./wheelhouse/*.whl
183+
name: artifact
184+
185+
release-linux:
186+
needs:
187+
- wheel-windows
188+
- wheel-macos
189+
190+
runs-on: ubuntu-latest
191+
192+
steps:
193+
- name: Check out code
194+
uses: actions/checkout@v2
195+
196+
- name: Set things up
197+
run: ./ci/run-on-linux.sh ./ci/before-deploy.sh
198+
env:
199+
DISTRO: fedora:latest
200+
201+
- name: Download wheels
202+
uses: actions/download-artifact@v2
203+
with:
204+
name: artifact
205+
path: ./dist
206+
207+
- run: ls -al /dist

0 commit comments

Comments
 (0)