Build Python bindings #57
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Python bindings | |
on: | |
push: | |
pull_request: | |
schedule: | |
- cron: '0 6 * * 1' # Run every monday at 06:00 UTC | |
jobs: | |
windows: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: messense/maturin-action@v1 | |
with: | |
maturin-version: latest | |
command: build | |
args: --release --sdist -i python3.11 | |
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: messense/maturin-action@v1 | |
with: | |
maturin-version: 0.13.1 | |
command: build | |
args: --release --sdist --universal2 -i python3.11 |