forked from Bos55/nix-config
Compare commits
27 commits
c04bce06b6
...
b9bd093ba8
| Author | SHA1 | Date | |
|---|---|---|---|
| b9bd093ba8 | |||
| 3d4082c25c | |||
| a5ed47a478 | |||
| ea3492ee27 | |||
| 44131ad8e7 | |||
| 02f2ade703 | |||
| 9008b6ab3d | |||
| 8824ee080c | |||
| bc42639059 | |||
| 4245b09a71 | |||
| 478ace7bb4 | |||
| 4eff2772d1 | |||
| de54d86be1 | |||
| 3e78d7e0f7 | |||
| 99141d2c7a | |||
| 675204152d | |||
| fce4a03fa5 | |||
| b5af201e86 | |||
| 2996df479f | |||
| 7d8a6693c1 | |||
| cef1259f8d | |||
| bfbe4204e7 | |||
| 60fe8110b1 | |||
| 4103c488b3 | |||
| 90bd5ed66b | |||
| bc8118b48a | |||
| 16b72ed6e0 |
1 changed files with 9 additions and 4 deletions
13
.github/workflows/build.yml
vendored
13
.github/workflows/build.yml
vendored
|
|
@ -3,11 +3,15 @@ on:
|
||||||
pull_request:
|
pull_request:
|
||||||
push:
|
push:
|
||||||
|
|
||||||
|
env:
|
||||||
|
RUNNER_TOOL_CACHE: /toolcache
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
determine-hosts:
|
determine-hosts:
|
||||||
name: "Determining hosts to build"
|
name: "Determining hosts to build"
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container: catthehacker/ubuntu:act-24.04
|
container:
|
||||||
|
image: catthehacker/ubuntu:act-latest
|
||||||
outputs:
|
outputs:
|
||||||
hosts: ${{ steps.hosts.outputs.hostnames }}
|
hosts: ${{ steps.hosts.outputs.hostnames }}
|
||||||
steps:
|
steps:
|
||||||
|
|
@ -23,12 +27,13 @@ jobs:
|
||||||
|
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container: catthehacker/ubuntu:act-24.04
|
container:
|
||||||
|
image: catthehacker/ubuntu:act-latest
|
||||||
needs: determine-hosts
|
needs: determine-hosts
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
hostname: [
|
hostname: [
|
||||||
Development,
|
Development
|
||||||
Testing
|
Testing
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
@ -39,5 +44,5 @@ jobs:
|
||||||
nix_path: nixpkgs=channel:nixos-unstable
|
nix_path: nixpkgs=channel:nixos-unstable
|
||||||
- name: "Build host"
|
- name: "Build host"
|
||||||
run: |
|
run: |
|
||||||
nix build ".#nixosConfigurations.${{ matrix.hostname }}.config.system.build.toplevel" --verbose
|
nix build ".#nixosConfigurations.${{ matrix.hostname }}.config.system.build.toplevel"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue