forked from Bos55/nix-config
Compare commits
1 commit
b9bd093ba8
...
c04bce06b6
| Author | SHA1 | Date | |
|---|---|---|---|
| c04bce06b6 |
1 changed files with 4 additions and 9 deletions
13
.github/workflows/build.yml
vendored
13
.github/workflows/build.yml
vendored
|
|
@ -3,15 +3,11 @@ on:
|
|||
pull_request:
|
||||
push:
|
||||
|
||||
env:
|
||||
RUNNER_TOOL_CACHE: /toolcache
|
||||
|
||||
jobs:
|
||||
determine-hosts:
|
||||
name: "Determining hosts to build"
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: catthehacker/ubuntu:act-latest
|
||||
container: catthehacker/ubuntu:act-24.04
|
||||
outputs:
|
||||
hosts: ${{ steps.hosts.outputs.hostnames }}
|
||||
steps:
|
||||
|
|
@ -27,13 +23,12 @@ jobs:
|
|||
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: catthehacker/ubuntu:act-latest
|
||||
container: catthehacker/ubuntu:act-24.04
|
||||
needs: determine-hosts
|
||||
strategy:
|
||||
matrix:
|
||||
hostname: [
|
||||
Development
|
||||
Development,
|
||||
Testing
|
||||
]
|
||||
|
||||
|
|
@ -44,5 +39,5 @@ jobs:
|
|||
nix_path: nixpkgs=channel:nixos-unstable
|
||||
- name: "Build host"
|
||||
run: |
|
||||
nix build ".#nixosConfigurations.${{ matrix.hostname }}.config.system.build.toplevel"
|
||||
nix build ".#nixosConfigurations.${{ matrix.hostname }}.config.system.build.toplevel" --verbose
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue