-
Notifications
You must be signed in to change notification settings - Fork 8
44 lines (40 loc) · 1001 Bytes
/
build.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
name: Build Python bindings
on:
push:
pull_request:
schedule:
- cron: '0 6 * * 1' # Run every monday at 06:00 UTC
jobs:
linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: PyO3/maturin-action@v1
with:
maturin-version: 1.6.0
manylinux: 2014
command: build
args: --release --sdist -i python3.12
windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: PyO3/maturin-action@v1
with:
maturin-version: 1.6.0
command: build
args: --release --sdist -i python3.12
macos:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: Install aarch64-apple-darwin toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
target: aarch64-apple-darwin
- uses: PyO3/maturin-action@v1
with:
maturin-version: 1.6.0
command: build
args: --release --sdist -i python3.12