From 7a1826f43c733c6e097d25ed3944ef27fc9271c7 Mon Sep 17 00:00:00 2001 From: Filip Gralinski Date: Sat, 24 Aug 2019 10:10:13 +0200 Subject: [PATCH] Trying to have some working GitLabCI configuration --- .gitlab-ci.yml | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8cee96d..a19893a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,11 +1,19 @@ -# recipe for building a fully static binary on GitLabCI - -image: nixos/nix stages: - build -build-binary: +build: + image: fpco/stack-build:lts-12.26 stage: build + script: + - stack install + - stack test + +# does not work yet, work in progress +build-static-binary:on-schedule: + image: nixos/nix + stage: build + only: + - schedule script: - $(nix-build --no-link -A fullBuildScript)