diff options
author | Paweł Dybiec <pdybiec@stud.cs.uni.wroc.pl> | 2023-08-27 20:37:09 +0000 |
---|---|---|
committer | Paweł Dybiec <pdybiec@stud.cs.uni.wroc.pl> | 2023-08-27 20:37:09 +0000 |
commit | 4c6779a89693b5268e3fcd158ecd8aec2e734d75 (patch) | |
tree | 07d80439b22f0efeaa30a5207aee19692cb80749 | |
parent | Terminate on connection error (diff) |
Move CI to nixos runner
-rw-r--r-- | .gitlab-ci.yml | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c680d0b..65cc4b8 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,12 +1,10 @@ stages: - nix -nix: - image: docker:stable + +nixos: + tags: ["nix"] stage: nix script: - - apk add curl git - - curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install linux --extra-conf "sandbox = false" --init none --no-confirm - - export PATH="${PATH}:/nix/var/nix/profiles/default/bin" - nix flake check - nix build .#dockerImage - ./result | docker load |