-
Notifications
You must be signed in to change notification settings - Fork 6
45 lines (42 loc) · 945 Bytes
/
CI.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
# This file is autogenerated by maturin v1.8.1
# To update, run
#
# maturin generate-ci github
#
name: CI
on:
pull_request:
branches: [main]
paths:
- src/**
- python/**
- "*.toml"
push:
branches: [main]
paths:
- src/**
- python/**
- "*.toml"
workflow_dispatch:
permissions:
contents: read
jobs:
build:
runs-on: ${{ matrix.platform.runner }}
strategy:
matrix:
platform:
- { os: linux, runner: ubuntu-22.04, target: aarch64 }
- { os: macos, runner: macos-14, target: aarch64 }
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.x
- name: Build wheels
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.platform.target }}
args: --release --out dist --find-interpreter
sccache: 'true'
manylinux: auto