Add workflow for update flake.lock
This commit is contained in:
parent
e30a6ae90c
commit
2f2c75c6f5
3 changed files with 73 additions and 17 deletions
21
.gitlab-ci/build.yml
Normal file
21
.gitlab-ci/build.yml
Normal file
|
@ -0,0 +1,21 @@
|
|||
stages:
|
||||
- build
|
||||
|
||||
workflow:
|
||||
name: "Build $CI_COMMIT_TITLE"
|
||||
|
||||
build-nixos-configurations:
|
||||
stage: build
|
||||
parallel:
|
||||
matrix:
|
||||
- HOST_TO_BUILD:
|
||||
- kharbranth
|
||||
- kholinar
|
||||
- lasting-integrity
|
||||
- urithiru
|
||||
script:
|
||||
- nix-env --quiet -j8 -iA cachix -f https://cachix.org/api/v1/install
|
||||
- cachix --version
|
||||
- cachix authtoken $CACHIX_AUTH_TOKEN
|
||||
- nix build -L --no-link .#nixosConfigurations.${HOST_TO_BUILD}.config.system.build.toplevel
|
||||
- nix eval --json .#nixosConfigurations.${HOST_TO_BUILD}.config.system.build.toplevel | sed 's/"\(.*\)"/\1/' | cachix push chvp
|
Loading…
Add table
Add a link
Reference in a new issue