Skip to content

Commit

Permalink
ci: re-enable nix build job and update actions
Browse files Browse the repository at this point in the history
  • Loading branch information
dvtfl committed Sep 4, 2024
1 parent 9a760bd commit fc24912
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,22 @@ on:
branches:
- master
jobs:
# build:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v3
# - uses: cachix/install-nix-action@v22
# with:
# nix_path: nixpkgs=channel:nixpkgs-unstable
# - run: GIT_LFS_SKIP_SMUDGE=1 nix build
# - run: nix flake check
check-features:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v27
with:
nix_path: nixpkgs=channel:nixpkgs-unstable
- run: GIT_LFS_SKIP_SMUDGE=1 nix build
- run: nix flake check
check-features:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- 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

0 comments on commit fc24912

Please sign in to comment.