Compare commits

..

1 commit

Author SHA1 Message Date
c04bce06b6
feat: Test Action
Some checks failed
Build / Determining hosts to build (push) Successful in 43s
Build / build (Development) (push) Failing after 11m25s
Build / Determining hosts to build (pull_request) Failing after 12m25s
Build / build (Testing) (push) Failing after 14m31s
Build / build (Development) (pull_request) Has been cancelled
Build / build (Testing) (pull_request) Has been cancelled
Including commits:
* chore: Disable test workflow
* Determine hosts
* Build each host
* Add NixOS to build step as well
* More specific hostnames
* fix json elements
* try different way
* Debug matrix
* run on push
* use var directly
* fix mappings
* fix mappings
* add toolcache
* Change names and ordere
* Debugging
* Debugging extra step
* Debugging needs outputs
* Debugging needs outputs hosts
* Preserve quotes
* printf escaped
* Using EOF
* test
* escape?
* without json parse
* hardcoding
* change build command
* Testing
2026-03-05 20:09:05 +01:00

View file

@ -3,15 +3,11 @@ 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: container: catthehacker/ubuntu:act-24.04
image: catthehacker/ubuntu:act-latest
outputs: outputs:
hosts: ${{ steps.hosts.outputs.hostnames }} hosts: ${{ steps.hosts.outputs.hostnames }}
steps: steps:
@ -27,13 +23,12 @@ jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: container: catthehacker/ubuntu:act-24.04
image: catthehacker/ubuntu:act-latest
needs: determine-hosts needs: determine-hosts
strategy: strategy:
matrix: matrix:
hostname: [ hostname: [
Development Development,
Testing Testing
] ]
@ -44,5 +39,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" nix build ".#nixosConfigurations.${{ matrix.hostname }}.config.system.build.toplevel" --verbose