Skip to content

Commit

Permalink
.github/workflows: fix failing CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Frontear committed Nov 9, 2024
1 parent 2702977 commit 3aa62ac
Showing 1 changed file with 16 additions and 10 deletions.
26 changes: 16 additions & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build NixOS Configurations
name: Exhaustive Flake Test

on:
workflow_dispatch:
Expand All @@ -10,19 +10,25 @@ jobs:
tests:
runs-on: ubuntu-latest
steps:
- name: Free Disk Space (preempt)
- uses: jlumbroso/[email protected]
- uses: actions/[email protected]

- name: Free Disk Space
uses: jlumbroso/[email protected]
with:
tool-cache: true

- name: Build Configurations
- uses: actions/[email protected]
- uses: cachix/install-nix-action@v30
- name: Install Nix
uses: cachix/install-nix-action@v30
with:
extra_nix_config: |
allow-import-from-derivation = false
eval-cache = false
- run: nix flake check
- run: nix build '.#nixosConfigurations.LAPTOP-3DT4F02.config.system.build.toplevel'
- run: nix build '.#nixosConfigurations.DESKTOP-3DT4F02.config.system.build.toplevel'
- run: nix build '.#nixosConfigurations.ISO-3DT4F02.config.system.build.isoImage'
- name: Run Flake Check
run: nix flake check

- name: Build NixOS Configurations
run: |
nix build '.#nixosConfigurations.LAPTOP-3DT4F02.config.system.build.toplevel'
nix build '.#nixosConfigurations.DESKTOP-3DT4F02.config.system.build.toplevel'
nix build '.#nixosConfigurations.ISO-3DT4F02.config.system.build.isoImage'

0 comments on commit 3aa62ac

Please sign in to comment.