Trying to have some working GitLabCI configuration

This commit is contained in:
Filip Gralinski 2019-08-24 10:10:13 +02:00
parent 636557a772
commit 7a1826f43c
1 changed files with 12 additions and 4 deletions

View File

@ -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)