diff options
author | Parthiv Seetharaman <pachum99@myrdd.info> | 2022-02-06 05:35:36 +0000 |
---|---|---|
committer | Parthiv Seetharaman <pachum99@myrdd.info> | 2022-02-06 05:35:36 +0000 |
commit | b117db436845e8e0667e6f10a2f0c5c397e1b05e (patch) | |
tree | e290a77063508bc5faf78fc733aa015b6035c466 /.gitlab-ci.yml | |
parent | 47d65f14fc245e41a373c9500a7437dff12b4ed6 (diff) | |
parent | 95ec4d6b0df108c8cae67f7d6cef843eec635189 (diff) |
Merge branch 'ci' into 'main'
Setup CI
See merge request coffeetables/nix-matrix-appservices!1
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..1a27ed3 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,15 @@ +default: + image: nixos/nix:2.6.0 + before_script: + - mkdir -p ~/.config/nix/ + - echo "experimental-features = flakes nix-command" >> ~/.config/nix/nix.conf + - echo "accept-flake-config = true" >> ~/.config/nix/nix.conf + - echo "extra-system-features = kvm" >> ~/.config/nix/nix.conf + +check: + only: + - branches + - tags + - merge_requests + script: + - nix flake check |