Skip to content

Update Cargo.toml and workflows to make CI works again #76

Update Cargo.toml and workflows to make CI works again

Update Cargo.toml and workflows to make CI works again #76

Workflow file for this run

# This file is autogenerated by maturin v1.8.1

Check failure on line 1 in .github/workflows/CI.yml

View workflow run for this annotation

GitHub Actions / CI

Invalid workflow file

The workflow is not valid. .github/workflows/CI.yml: (Line: 28, Col: 76, Idx: 473) - (Line: 28, Col: 115, Idx: 512): While scanning a plain scalar, find unexpected ':'.
# To update, run
#
# maturin generate-ci github
#
name: CI
on:
pull_request:
branches: [main]
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-24.04, target: aarch64, container: ghcr.io/rust-cross/manylinux_2_28-cross:aarch64 }
- { os: macos, runner: macos-15, 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
container: ${{ matrix.platform.container }}