Trying to have some working GitLabCI configuration
This commit is contained in:
parent
636557a772
commit
7a1826f43c
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user