forked from falconry/falcon
-
Notifications
You must be signed in to change notification settings - Fork 0
50 lines (45 loc) · 1.29 KB
/
test-wheels.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# Test various architectures by building out binaries with cibuildwheel.
name: test-wheels
on:
# Trigger the workflow on master but also allow it to run manually.
workflow_dispatch:
push:
branches:
- master
jobs:
test-emulated:
name: "cibuildwheel: ${{ matrix.platform.build }}"
runs-on: ${{ matrix.platform.os }}
strategy:
fail-fast: false
matrix:
platform:
- build: "cp313-manylinux_aarch64"
os: ubuntu-latest
emulation: true
- build: "cp313-manylinux_s390x"
os: ubuntu-latest
emulation: true
- build: "cp38-manylinux_x86_64"
os: ubuntu-latest
- build: "cp313-musllinux_x86_64"
os: ubuntu-latest
- build: "cp313-macosx_arm64"
os: macos-14
- build: "cp313-win_amd64"
os: windows-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
with:
fetch-depth: 2
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
if: ${{ matrix.platform.emulation }}
with:
platforms: all
- name: Build wheels
uses: pypa/[email protected]
env:
CIBW_ARCHS_LINUX: all
CIBW_BUILD: ${{ matrix.platform.build }}