CI fixes (#28)

* fail-fast:false

* Update Nix build commands in GitHub Actions workflow to use specific configurations for NixOS and Darwin.

* Update Nix build commands in GitHub Actions workflow to remove '.system' suffix for configurations.
This commit is contained in:
Tyler Mayoff 2025-06-20 14:32:05 -04:00 committed by GitHub
parent 0e27c6dbbb
commit ca0aa44c38
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -4,6 +4,7 @@ on:
jobs: jobs:
build: build:
strategy: strategy:
fail-fast: false
matrix: matrix:
include: include:
- os: ubuntu-latest - os: ubuntu-latest
@ -40,7 +41,7 @@ jobs:
with: with:
packages: nh packages: nh
script: | script: |
nh os build ./dot_config/flake#${{matrix.hostname}} -- --cores 1 -j1 nh os build ./dot_config/flake#nixosConfigurations.${{matrix.hostname}} --no-nom -- --cores 1 -j1
- uses: workflow/nix-shell-action@v3 - uses: workflow/nix-shell-action@v3
if: runner.os == 'macOS' if: runner.os == 'macOS'
@ -48,4 +49,4 @@ jobs:
with: with:
packages: nh packages: nh
script: | script: |
nh darwin build ./dot_config/flake#${{matrix.hostname}} -- --cores 1 -j1 nh darwin build ./dot_config/flake#darwinConfigurations.${{matrix.hostname}} --no-nom -- --cores 1 -j1