ci: Add job to run cargo check with different feature flags
This commit is contained in:
parent
f0eeefb6fe
commit
cc01f991a6
1 changed files with 9 additions and 0 deletions
9
.github/workflows/build.yml
vendored
9
.github/workflows/build.yml
vendored
|
|
@ -16,3 +16,12 @@ jobs:
|
||||||
nix_path: nixpkgs=channel:nixpkgs-unstable
|
nix_path: nixpkgs=channel:nixpkgs-unstable
|
||||||
- run: GIT_LFS_SKIP_SMUDGE=1 nix build
|
- run: GIT_LFS_SKIP_SMUDGE=1 nix build
|
||||||
- run: nix flake check
|
- run: nix flake check
|
||||||
|
check-features:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- uses: dtolnay/rust-toolchain@stable
|
||||||
|
- run: sudo apt-get update; sudo apt-get install -y libdrm-dev libudev-dev libgbm-dev libxkbcommon-dev libegl1-mesa-dev libwayland-dev libinput-dev libdbus-1-dev libsystemd-dev libseat-dev
|
||||||
|
- run: cargo check --no-default-features
|
||||||
|
- run: cargo check --features debug
|
||||||
|
- run: cargo check --features profile-with-tracy
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue