Skip to content

Add custom operations to Point and simplify algorithm #12

Add custom operations to Point and simplify algorithm

Add custom operations to Point and simplify algorithm #12

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: Install develop
uses: PyO3/maturin-action@v1
with:
command: develop --extras tests
- name: Run Pytest
run: |
pytest
- name: Build wheels
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.target }}
command: build
args: --release --out dist --find-interpreter
sccache: 'true'
manylinux: auto