Skip to content

Try to fix stubborn maturin #13

Try to fix stubborn maturin

Try to fix stubborn maturin #13

Workflow file for this run

name: Cargo/Maturin Build & Test
on:
push:
pull_request:
env:
CARGO_TERM_COLOR: always
jobs:
build_and_test:
name: Build/Test Rust
runs-on: ubuntu-latest
strategy:
matrix:
toolchain:
- stable
- beta
- nightly
steps:
- uses: actions/checkout@v3
- run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
- run: cargo build --verbose
- run: cargo test --verbose
linux:
name: Build/Test Python
runs-on: ubuntu-latest
strategy:
matrix:
target: [x86_64, x86, aarch64, armv7, s390x, ppc64le]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Maturin build
uses: PyO3/maturin-action@v1
with:
command: build
- name: Run Pytest
run: |
pytest
- name: Maturin build wheels
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.target }}
command: build
args: --release --out dist --find-interpreter
sccache: "true"
manylinux: auto