Prepare 0.8.1 release #191
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: Reference Compat | |
| on: | |
| push: | |
| branches: [main, master] | |
| pull_request: | |
| workflow_dispatch: | |
| inputs: | |
| run_benchmarks: | |
| description: Run the Criterion GDAL/libtiff comparison benches and upload reports | |
| required: false | |
| default: false | |
| type: boolean | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| env: | |
| CARGO_TERM_COLOR: always | |
| RUSTFLAGS: -D warnings | |
| jobs: | |
| parity: | |
| name: GDAL/libtiff Parity | |
| runs-on: ubuntu-24.04 | |
| timeout-minutes: 30 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install Rust | |
| run: rustup toolchain install 1.91.0 --profile minimal --component rustfmt,clippy --no-self-update | |
| - uses: Swatinem/rust-cache@v2 | |
| - name: Run Docker parity checks | |
| run: ./scripts/run-reference-parity.sh | |
| benchmark: | |
| name: GDAL/libtiff Comparison Bench | |
| runs-on: ubuntu-24.04 | |
| needs: parity | |
| if: ${{ github.event_name == 'workflow_dispatch' && inputs.run_benchmarks }} | |
| timeout-minutes: 45 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install Rust | |
| run: rustup toolchain install 1.91.0 --profile minimal --component rustfmt,clippy --no-self-update | |
| - uses: Swatinem/rust-cache@v2 | |
| - name: Run Docker Criterion comparison benches | |
| run: ./scripts/run-reference-benchmarks.sh | |
| - name: Upload Criterion reports | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: criterion-gdal-compat | |
| path: target/criterion | |
| if-no-files-found: error |