docs: improve readme #715
This file contains hidden or 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: Python Wheel Check | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| jobs: | |
| build-wheels: | |
| name: Build wheels (no publish) | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest, ubuntu-22.04-arm, macos-latest, windows-latest] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6 | |
| - name: Install Rust (stable) | |
| uses: dtolnay/rust-toolchain@f7ccc83f9ed1e5b9c81d8a67d7ad1a747e22a561 # stable | |
| with: | |
| toolchain: stable | |
| - name: Verify lockfile up to date | |
| shell: bash | |
| run: cargo metadata --locked --manifest-path python/Cargo.toml --format-version 1 >/dev/null | |
| - name: Build wheels | |
| uses: PyO3/maturin-action@86b9d133d34bc1b40018696f782949dac11bd380 # v1 | |
| with: | |
| command: build | |
| args: --release --locked -m python/Cargo.toml -i 3.10 3.11 3.12 3.13 3.14 | |
| manylinux: "2014" | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| before-script-linux: yum install -y perl-core |