mirror of
https://github.com/RichieCahill/dotfiles.git
synced 2026-04-17 04:58:19 -04:00
26 lines
761 B
YAML
26 lines
761 B
YAML
name: build_systems
|
|
on:
|
|
workflow_dispatch:
|
|
pull_request:
|
|
push:
|
|
branches: [main]
|
|
|
|
jobs:
|
|
build:
|
|
name: build-${{ matrix.system }}
|
|
runs-on: self-hosted
|
|
strategy:
|
|
matrix:
|
|
system:
|
|
- "bob"
|
|
- "jeeves"
|
|
- "rhapsody-in-green"
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Build default package
|
|
run: "nixos-rebuild build --flake ./#${{ matrix.system }}"
|
|
- name: copy to nix-cache
|
|
env:
|
|
NIX_SSHOPTS: "-p 629 -i /zfs/storage/secrets/services/github-runners/id_ed25519_github-runners -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null"
|
|
run: nix copy --to ssh://192.168.95.14 .#nixosConfigurations.${{ matrix.system }}.config.system.build.toplevel
|