Update bit-set requirement from 0.5.2 to 0.8.0 #508
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 | |
on: | |
push: | |
pull_request: | |
branches: [master] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
build: | |
- pinned | |
- stable | |
- beta | |
- nightly | |
include: | |
- build: pinned | |
os: ubuntu-20.04 | |
rust: 1.65.0 | |
- build: stable | |
os: ubuntu-20.04 | |
rust: stable | |
- build: beta | |
os: ubuntu-20.04 | |
rust: beta | |
- build: nightly | |
os: ubuntu-20.04 | |
rust: nightly | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 1 | |
- name: Install Rust | |
uses: hecrj/setup-rust-action@v1 | |
with: | |
rust-version: ${{ matrix.rust }} | |
- name: Build | |
run: cd proptest && cargo build --verbose | |
- name: Run tests | |
run: cd proptest && cargo test --verbose | |
- name: Build coverage no-default-features | |
if: ${{ matrix.build == 'stable' }} | |
env: | |
RUST_FLAGS: "-C link-dead-code" | |
run: cd proptest && cargo build --no-default-features --features default-code-coverage | |
- name: Build fork no-default-features | |
if: ${{ matrix.build == 'stable' }} | |
run: cd proptest && cargo build --no-default-features --features fork | |
- name: Build lib std no-default-features | |
if: ${{ matrix.build == 'stable' }} | |
run: cd proptest && cargo build --lib --no-default-features --features std | |
- name: Build rng no-default-features | |
if: ${{ matrix.build == 'nightly' }} | |
run: cd proptest && cargo build --no-default-features --features "alloc unstable hardware-rng" | |
- name: Run persistence tests | |
if: ${{ matrix.build == 'nightly' }} | |
run: cd proptest/test-persistence-location && ./run-tests.sh | |
- name: Clean | |
run: cargo clean | |
- name: Build derive | |
run: cd proptest-derive && cargo build | |
- name: Clean and Run tests for derive | |
if: ${{ matrix.build == 'nightly' }} | |
run: cd proptest-derive && cargo clean && cargo test | |
- name: Clean and Run tests for derive with features enabled | |
if: ${{ matrix.build == 'nightly' }} | |
run: cd proptest-derive && cargo clean && cargo test --features boxed_union |