Update main.yml

This commit is contained in:
Tyler 2025-05-19 22:38:46 -04:00 committed by GitHub
parent bb5762d11b
commit 14fd03d6ba
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -5,7 +5,11 @@ jobs:
build: build:
strategy: strategy:
matrix: matrix:
os: [ubuntu-latest, macos-latest] include:
- os: ubuntu-latest
hostname: wash
- os: macos-latest
hostname: MAC-C57KK2TC69
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
@ -29,6 +33,13 @@ jobs:
with: with:
name: tmayoff name: tmayoff
authToken: '${{ secrets.CACHIX_AUTH }}' authToken: '${{ secrets.CACHIX_AUTH }}'
- run: |
nix build ./dot_config/flake#nixosConfigurations.wash.config.system.build.toplevel --cores 1 -j1 - name: build nixos
if: runner.os == 'Linux'
run: |
nh os build ./dot_config/flake/ -- --cores 1 -j1
- name: build darwin
if: runner.os == 'macOS'
run: |
nh darwin build ./dot_config/flake/ -- --cores 1 -j1