38 lines
831 B
YAML
38 lines
831 B
YAML
on: [push]
|
|
jobs:
|
|
check:
|
|
runs-on: nixos-host
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v3
|
|
|
|
# cache not needed since we now run on the host directly
|
|
# - name: Load cached nix store
|
|
# id: cache-nix-store
|
|
# uses: actions/cache/restore@v4
|
|
# with:
|
|
# path: /nix/store
|
|
# key: ${{ runner.os }}-nix-store
|
|
|
|
- name: Build server
|
|
run: |
|
|
nixos-rebuild .#beefcake
|
|
|
|
- name: Build router
|
|
run: |
|
|
nixos-rebuild .#router
|
|
|
|
- name: Build desktop
|
|
run: |
|
|
nixos-rebuild .#dragon
|
|
|
|
- name: Build laptop
|
|
run: |
|
|
nixos-rebuild .#foxtrot
|
|
|
|
# - name: Save nix store
|
|
# uses: actions/cache/save@v4
|
|
# with:
|
|
# path: /nix/store
|
|
# key: ${{ steps.cache-nix-store.outputs.cache-primary-key }}
|