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

View File

@ -1,11 +1,19 @@
# recipe for building a fully static binary on GitLabCI
image: nixos/nix
stages: stages:
- build - build
build-binary: build:
image: fpco/stack-build:lts-12.26
stage: build 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: script:
- $(nix-build --no-link -A fullBuildScript) - $(nix-build --no-link -A fullBuildScript)