Build #295
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: Build | |
| on: | |
| push: | |
| branches: [ "master" ] | |
| pull_request: | |
| branches: [ "master" ] | |
| schedule: | |
| - cron: "37 7 * * 1,5" | |
| env: | |
| CARGO_TERM_COLOR: always | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Install rust | |
| run: rustup toolchain install stable | |
| - name: Install 1.75 | |
| run: rustup toolchain install 1.75 | |
| - name: Run tests | |
| run: cargo +stable test --features=validate --workspace | |
| - name: Test (1.75) | |
| run: cargo +1.75 test | |
| - name: Run tests (release) | |
| run: cargo +stable test --release --workspace | |
| - name: Run tests (release) | |
| run: cargo +stable test --release --features=validate --workspace | |
| - name: Test (no default features) | |
| run: cargo +stable test --no-default-features | |
| - name: Test (no default features 1.75) | |
| run: cargo +1.75 test --no-default-features | |
| - name: Test (nostd_unchecked_panics) | |
| run: cargo +stable test --no-default-features --features=nostd_unchecked_panics | |
| - name: Build (all features) | |
| run: cargo +nightly build --all-features | |
| - name: Install nightly | |
| run: rustup toolchain install nightly | |
| - name: Run tests (release, nightly-only-features) | |
| run: cargo +nightly test --release --features=validate,nightly --workspace | |
| - name: Cargo doc | |
| run: cargo +stable doc --workspace | |