summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstuebinm2021-11-21 19:47:16 +0100
committerstuebinm2021-11-21 19:47:16 +0100
commitac44534ac1f55b8d36ddcdfce224955f49e50749 (patch)
treed899c690e17ab0d6b4969b68da3bb50c2c0a5b71
parenta0b1472a7b348a50b9ef155fa2a457ab3f316383 (diff)
gitlab pipeline: more reasonable artefact
-rw-r--r--.gitlab-ci.yml7
1 files changed, 5 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 447dec0..81a7cc2 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,4 +1,4 @@
-image: haskell
+image: haskell:8.10.7
stages:
- build
@@ -7,6 +7,9 @@ build-job:
stage: build
script:
- stack build --install-ghc
+ - mkdir dist
+ - cp .stack-work/install/x86_64-linux-tinfo6/*/*/bin/walint dist
+ - cp config.json dist
artifacts:
paths:
- - .stack-work/install/x86_64-linux-tinfo6/*/*/bin/walint
+ - dist