-
Notifications
You must be signed in to change notification settings - Fork 174
67 lines (55 loc) · 1.46 KB
/
build_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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
name: Build Wheels
on:
push:
branches:
- master
pull_request:
branches:
- master
release:
types: [published]
workflow_dispatch:
jobs:
build_wheels:
name: Build wheels on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest]
steps:
- uses: actions/checkout@v4
with:
submodules: 'true'
fetch-depth: 0
- name: Build wheels
uses: pypa/cibuildwheel@v2.17
env:
CIBW_ARCHS: AMD64
CIBW_BUILD: cp312-*
- uses: actions/upload-artifact@v4
with:
name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }}
path: ./wheelhouse/*.whl
# build_arm64_wheels:
# # Emulation takes a long time so we save it for release/manual triggering
# name: Build arm64 wheels via emulation
# runs-on: ubuntu-latest
# if: ${{ github.event_name != 'pull_request' }}
# steps:
# - uses: actions/checkout@v4
# with:
# submodules: 'true'
# fetch-depth: 0
# - name: Set up QEMU
# if: runner.os == 'Linux'
# uses: docker/setup-qemu-action@v3
# with:
# platforms: arm64
# - name: Build wheels
# uses: pypa/cibuildwheel@v2.17
# env:
# CIBW_ARCHS_LINUX: aarch64
# - uses: actions/upload-artifact@v4
# with:
# name: cibw-wheels-arm64
# path: ./wheelhouse/*.whl