build: combine CI jobs
Build all device configurations in same job to save on pipeline minutes
This commit is contained in:
parent
285870698a
commit
63bc92a5c9
|
@ -6,12 +6,11 @@ variables:
|
||||||
build:
|
build:
|
||||||
stage: build
|
stage: build
|
||||||
allow_failure: true
|
allow_failure: true
|
||||||
parallel:
|
before_script:
|
||||||
matrix:
|
|
||||||
- DEVICE: [home-pc, home-server]
|
|
||||||
script:
|
|
||||||
- nix-env -iA cachix -f https://cachix.org/api/v1/install
|
- nix-env -iA cachix -f https://cachix.org/api/v1/install
|
||||||
- cachix use felschr
|
- cachix use felschr
|
||||||
- cachix watch-exec felschr nix build .#nixosConfigurations.$DEVICE.config.system.build.toplevel
|
script:
|
||||||
|
- cachix watch-exec felschr nix build .#nixosConfigurations.home-pc.config.system.build.toplevel
|
||||||
|
- cachix watch-exec felschr nix build .#nixosConfigurations.home-server.config.system.build.toplevel
|
||||||
only:
|
only:
|
||||||
- main
|
- main
|
||||||
|
|
Loading…
Reference in a new issue