summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml15
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