Commit 5955d01b authored by Justin Woo's avatar Justin Woo

attempt stack nix gitlab setup

parent 7e11e73f
# Thanks to: image: tweag/stack-docker-nix
# https://vadosware.io/post/zero-to-continuous-integrated-testing-a-haskell-project-with-gitlab/
#
#
image: haskell:8
variables: variables:
STACK_ROOT: "${CI_PROJECT_DIR}/.stack" STACK_ROOT: "${CI_PROJECT_DIR}/.stack"
STACK_OPTS: "--system-ghc"
cache: cache:
paths: paths:
...@@ -14,10 +9,6 @@ cache: ...@@ -14,10 +9,6 @@ cache:
- .stack-work - .stack-work
- target - target
#before_script:
#- apt-get update
#- apt-get install make xz-utils
stages: stages:
- build - build
- test - test
...@@ -28,7 +19,6 @@ build: ...@@ -28,7 +19,6 @@ build:
- make setup - make setup
- make build - make build
# TOOO
#unit-test: #unit-test:
# stage: test # stage: test
# script: # script:
...@@ -54,8 +44,4 @@ build: ...@@ -54,8 +44,4 @@ build:
# - rm -rf .stack # - rm -rf .stack
# - rm -rf .stack-work # - rm -rf .stack-work
# - stack setup --system-ghc # - stack setup --system-ghc
# - stack install --local-bin-path target --system-ghc # - stack install --local-bin-path target --system-ghc
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment