Make page CRC verification toggleable by end-users #104
Workflow file for this run
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: ogg | |
on: [push, pull_request] | |
jobs: | |
build: | |
strategy: | |
matrix: | |
os: [macOS-latest, ubuntu-latest, windows-latest] | |
toolchain: [stable, beta, 1.61] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@master | |
- name: Install Rust | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: ${{ matrix.toolchain }} | |
override: true | |
- name: Run no-default-features builds | |
if: matrix.toolchain != '1.61' | |
run: | | |
cargo test --verbose --no-default-features | |
cargo doc --verbose --no-default-features | |
- name: Run no-default-features builds (forbidding warnings) | |
if: matrix.toolchain == '1.61' | |
env: | |
RUSTFLAGS: -D warnings | |
run: | | |
cargo test --verbose --no-default-features | |
cargo doc --verbose --no-default-features | |
- name: Run all-features builds | |
if: matrix.toolchain != '1.61' | |
run: | | |
cargo test --verbose --all-features | |
cargo doc --verbose --all-features |