Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
haskell-gargantext
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Christian Merten
haskell-gargantext
Commits
5955d01b
Commit
5955d01b
authored
Mar 30, 2020
by
Justin Woo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
attempt stack nix gitlab setup
parent
7e11e73f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
16 deletions
+2
-16
.gitlab-ci.yml
.gitlab-ci.yml
+2
-16
No files found.
.gitlab-ci.yml
View file @
5955d01b
# 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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment