mirror of
https://codeberg.org/tmayoff/.dotfiles.git
synced 2025-12-06 08:48:34 -05:00
Update main.yml
This commit is contained in:
parent
bb5762d11b
commit
14fd03d6ba
1 changed files with 15 additions and 4 deletions
17
.github/workflows/main.yml
vendored
17
.github/workflows/main.yml
vendored
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue