-
Notifications
You must be signed in to change notification settings - Fork 0
46 lines (38 loc) · 955 Bytes
/
wheels.yml
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
name: wheels
on:
pull_request:
paths:
- '.github/workflows/wheels.yml'
push:
branches:
- main
jobs:
wheels:
strategy:
fail-fast: false
matrix:
os:
- ubuntu-22.04
- windows-2022
- macos-13
- macos-14
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
with:
submodules: true
- uses: docker/setup-qemu-action@v3
if: runner.os == 'Linux'
with:
platforms: "arm64"
- name: Set source timestamp
run: |
echo SOURCE_DATE_EPOCH=$(git log -n1 --pretty=%ct) >> "$GITHUB_ENV"
- uses: pypa/cibuildwheel@v2.19.2
env:
CIBW_BUILD: "cp312-* pp39-*"
CIBW_ARCHS_LINUX: "auto aarch64"
- uses: actions/upload-artifact@v4
with:
name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }}
path: ./wheelhouse/*.whl