Release 1.7.0: Unified output format, streaming writes, summary file #8
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: CI Rust | |
| on: | |
| push: | |
| branches: [main] | |
| paths: | |
| - 'src/rust/**' | |
| - '.github/workflows/ci-rust.yml' | |
| pull_request: | |
| branches: [main] | |
| paths: | |
| - 'src/rust/**' | |
| - '.github/workflows/ci-rust.yml' | |
| env: | |
| CARGO_TERM_COLOR: always | |
| jobs: | |
| test: | |
| name: Test | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Rust | |
| uses: dtolnay/rust-toolchain@stable | |
| - name: Run tests | |
| working-directory: src/rust/arraysplitter | |
| run: cargo test --lib | |
| - name: Build release | |
| working-directory: src/rust/arraysplitter | |
| run: cargo build --release | |
| build-wheels: | |
| name: Build wheel ${{ matrix.target }} | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - os: ubuntu-latest | |
| target: x86_64-unknown-linux-gnu | |
| - os: macos-15-intel | |
| target: x86_64-apple-darwin | |
| - os: macos-latest | |
| target: aarch64-apple-darwin | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Rust | |
| uses: dtolnay/rust-toolchain@stable | |
| with: | |
| targets: ${{ matrix.target }} | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.11' | |
| - name: Install maturin | |
| run: pip install maturin | |
| - name: Build wheel | |
| working-directory: src/rust/arraysplitter | |
| run: maturin build --release --target ${{ matrix.target }} --out dist | |
| - name: Upload wheel | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: wheel-${{ matrix.target }} | |
| path: src/rust/arraysplitter/dist/*.whl |