diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..e83ee8c --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,30 @@ +default: + image: nixos/nix:2.16.1 + +stages: + - update_flake_lock + - build + - apply + - commit_flake + +update_flake_lock: + stage: update_flake_lock + script: + - nix flake update --extra-experimental-features nix-command --extra-experimental-features flakes + +build: + stage: build + script: + - nix-env --install colmena + - colmena build + +apply: + stage: apply + script: + - nix-env --install colmena + - colmena apply + +commit_flake: + stage: commit_flake + script: + - echo "commit_flake" \ No newline at end of file