Updated crate versions. #3
This file contains 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: Rust CI | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
rust: | |
- stable | |
- beta | |
- nightly | |
steps: | |
- name: Set up Rust | |
uses: actions/checkout@v2 | |
- name: Install Rust | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: ${{ matrix.rust }} | |
profile: minimal | |
- name: Clean | |
run: cargo clean | |
- name: Check with pathfinder_geometry features | |
run: cargo check --features pathfinder_geometry | |
- name: Check without default features | |
run: cargo check --no-default-features | |
- name: Run tests | |
run: cargo test | |
- name: Run benchmarks with pathfinder_geometry features | |
run: cargo bench --no-run --features pathfinder_geometry | |
- name: Run benchmarks without default features | |
run: cargo bench --no-default-features --no-run | |
- name: Run after-success.sh | |
run: | | |
chmod +x after-success.sh | |
./after-success.sh |