mirror of
https://github.com/RichieCahill/dotfiles.git
synced 2026-04-17 04:58:19 -04:00
24 lines
575 B
YAML
24 lines
575 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
|
|
run: nix copy --to ssh://jeeves .#nixosConfigurations.${{ matrix.system }}.config.system.build.toplevel
|