mirror of
https://codeberg.org/tmayoff/.dotfiles.git
synced 2025-12-06 08:48:34 -05:00
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:
parent
0e27c6dbbb
commit
ca0aa44c38
1 changed files with 3 additions and 2 deletions
5
.github/workflows/main.yml
vendored
5
.github/workflows/main.yml
vendored
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue