mirror of
https://github.com/RichieCahill/dotfiles.git
synced 2026-04-17 13:08:19 -04:00
28 lines
664 B
YAML
28 lines
664 B
YAML
name: build_systems
|
|
on:
|
|
workflow_dispatch:
|
|
pull_request:
|
|
push:
|
|
branches: [main]
|
|
schedule:
|
|
- cron: "0 22 * * *"
|
|
|
|
jobs:
|
|
build:
|
|
name: build-${{ matrix.system }}
|
|
runs-on: self-hosted
|
|
strategy:
|
|
matrix:
|
|
system:
|
|
- "bob"
|
|
- "jeeves"
|
|
- "rhapsody-in-green"
|
|
- "leviathan"
|
|
continue-on-error: true
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Build default package
|
|
run: "nixos-rebuild build --flake ./#${{ matrix.system }}"
|
|
- name: copy to nix-cache
|
|
run: nix copy --to ssh://jeeves .#nixosConfigurations.${{ matrix.system }}.config.system.build.toplevel
|