mirror of
https://github.com/martinvonz/jj.git
synced 2024-12-31 16:40:22 +00:00
github: add a build target with all features
This should catch build errors in the `bench` feature (and in any future non-default features).
This commit is contained in:
parent
0e29cfca5c
commit
9d83c40b8d
1 changed files with 7 additions and 2 deletions
9
.github/workflows/build.yml
vendored
9
.github/workflows/build.yml
vendored
|
@ -15,9 +15,14 @@ jobs:
|
|||
matrix:
|
||||
os: [ubuntu-latest, macos-latest, windows-latest]
|
||||
rust_version: [stable]
|
||||
cargo_flags: [""]
|
||||
include:
|
||||
- os: ubuntu-latest
|
||||
rust_version: "1.64"
|
||||
cargo_flags: ""
|
||||
- os: ubuntu-latest
|
||||
rust_version: stable
|
||||
cargo_flags: "--all-features"
|
||||
runs-on: ${{ matrix.os }}
|
||||
|
||||
steps:
|
||||
|
@ -27,9 +32,9 @@ jobs:
|
|||
with:
|
||||
toolchain: ${{ matrix.rust_version }}
|
||||
- name: Build
|
||||
run: cargo build --workspace --all-targets --verbose
|
||||
run: cargo build --workspace --all-targets --verbose ${{ matrix.cargo_flags }}
|
||||
- name: Test
|
||||
run: cargo test --workspace --all-targets --verbose
|
||||
run: cargo test --workspace --all-targets --verbose ${{ matrix.cargo_flags }}
|
||||
env:
|
||||
RUST_BACKTRACE: 1
|
||||
|
||||
|
|
Loading…
Reference in a new issue