mirror of
https://github.com/RichieCahill/dotfiles.git
synced 2026-04-17 13:08:19 -04:00
adding system matrix
This commit is contained in:
12
.github/workflows/jeeves-build.yml
vendored
12
.github/workflows/jeeves-build.yml
vendored
@@ -7,11 +7,19 @@ on:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: Build Nix targets
|
||||
name: build-${{ matrix.system }}
|
||||
runs-on: ubuntu-22.04
|
||||
strategy:
|
||||
matrix:
|
||||
system:
|
||||
- "bob"
|
||||
- "jeeves"
|
||||
- "muninn"
|
||||
- "rhapsody-in-green"
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Install Nix
|
||||
uses: DeterminateSystems/nix-installer-action@v3
|
||||
- name: Build default package
|
||||
run: 'nix-shell -p nixos-rebuild --run "nixos-rebuild build --flake ./#jeeves"'
|
||||
run: 'nix-shell -p nixos-rebuild --run "nixos-rebuild build --flake ./#${{ matrix.system }}"'
|
||||
|
||||
Reference in New Issue
Block a user