-
Notifications
You must be signed in to change notification settings - Fork 5
62 lines (50 loc) · 1.56 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
name: Build
on: [pull_request]
jobs:
build_wheels_linux:
name: Build wheels on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04]
arch: [x86_64, i686, aarch64, ppc64le, s390x]
steps:
- name: Checkout LeptonInjector
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.9' # update once build dependencies are available
- name: Build wheels
uses: pypa/[email protected]
- name: Setup tmate session
if: ${{ failure() }}
uses: mxschmitt/action-tmate@v3
- uses: actions/upload-artifact@v4
with:
name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }}
path: ./wheelhouse/*.whl
build_wheels_macos:
name: Build wheels on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-11]
# arch: [x86_64, arm64]
arch: [x86_64]
steps:
- name: Checkout LeptonInjector
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.9' # update once build dependencies are available
- name: Build wheels
uses: pypa/[email protected]
- name: Setup tmate session
if: ${{ failure() }}
uses: mxschmitt/action-tmate@v3
- uses: actions/upload-artifact@v4
with:
name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }}
path: ./wheelhouse/*.whl