Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
viperML committed Nov 30, 2023
1 parent f8270fd commit a5e270c
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,15 @@ jobs:
- run: nix build github:$GITHUB_REPOSITORY/$GITHUB_SHA -L

- name: NixOS check
env:
out: /nixos
run: |
sudo mkdir -pv result-nixos
sudo mount -t tmpfs none ./result-nixos
export
sudo mkdir -pv $out
sudo mount -t tmpfs none $out
nix build nixpkgs#nixos-install-tools
sudo ./result/bin/nixos-install \
--flake github:$GITHUB_REPOSITORY/$GITHUB_SHA#check \
--root $PWD/result-nixos \
--root $out \
--no-root-passwd \
--no-bootloader

0 comments on commit a5e270c

Please sign in to comment.