mirror of
https://github.com/Blah-IM/blahrs.git
synced 2025-09-13 05:55:22 +00:00
build,ci: specify MSRV and setup CI
This commit is contained in:
parent
59a8851b32
commit
10c1ad5170
6 changed files with 15 additions and 11 deletions
8
.github/workflows/ci.yaml
vendored
8
.github/workflows/ci.yaml
vendored
|
@ -47,7 +47,8 @@ jobs:
|
|||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
rust: [stable, beta]
|
||||
# NB: Sync MSRV with Cargo.toml!
|
||||
rust: [stable, beta, "1.88"]
|
||||
name: Test ${{ matrix.rust }}
|
||||
# Need libsqlite3-dev >= 3.38.0 (2022-02-22)
|
||||
runs-on: ubuntu-24.04
|
||||
|
@ -64,7 +65,7 @@ jobs:
|
|||
|
||||
- name: Install Rust ${{ matrix.rust }}
|
||||
run: |
|
||||
rustup update --no-self-update ${{ matrix.rust }}
|
||||
rustup update --no-self-update
|
||||
rustup default ${{ matrix.rust }}
|
||||
|
||||
- name: Disable webapi tests on stable rustc
|
||||
|
@ -80,9 +81,8 @@ jobs:
|
|||
- name: Test
|
||||
run: cargo test --workspace --all-targets
|
||||
|
||||
# WAIT: Next release of `criterion` for `--include-ignored`.
|
||||
- name: Test ignored
|
||||
run: cargo test --workspace --all-targets -- --ignored
|
||||
run: cargo test --workspace --all-targets -- --ignored-ignored
|
||||
|
||||
nix-flake:
|
||||
name: Flake package
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue