Skip to content

pyo3

pyo3 #15

Workflow file for this run

# This file is autogenerated by maturin v1.4.0
# To update, run
#
# maturin generate-ci github --platform linux
#
name: "PyO3 CI"
on:
workflow_run:
workflows: ["Test Suite"]
types: [completed]
branches:
- main
- master
permissions:
contents: read
jobs:
linux:
runs-on: self-hosted
strategy:
matrix:
target: [x86_64, aarch64]
steps:
- uses: actions/checkout@v3
- uses: actions-rust-lang/setup-rust-toolchain@v1
- name: Install C compiler
run: sudo apt-get update && sudo apt-get install -y build-essential
- uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Build wheels
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.target }}
args: --release --out dist --find-interpreter
sccache: 'true'
container: 'off'
working-directory: pycare
- name: Upload wheels
uses: actions/upload-artifact@v3
with:
name: wheels
path: dist