Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
H
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
Przemyslaw Kaminski
haskell-gargantext
Commits
7c2db649
Commit
7c2db649
authored
May 28, 2021
by
Przemyslaw Kaminski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[test] CI cache dir, test stage added
parent
ef7f3bfc
Pipeline
#1481
canceled with stage
in 8 minutes and 19 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
11 deletions
+16
-11
.gitlab-ci.yml
.gitlab-ci.yml
+16
-11
No files found.
.gitlab-ci.yml
View file @
7c2db649
...
...
@@ -5,15 +5,9 @@
image
:
cgenie/stack-build:lts-17.13-garg
variables
:
STACK_ROOT
:
"
${CI_PROJECT_DIR}/.stack"
STACK_ROOT
:
"
${CI_PROJECT_DIR}/.stack
-root
"
STACK_OPTS
:
"
--system-ghc"
cache
:
paths
:
-
.stack
-
.stack-work
-
target
#before_script:
#- apt-get update
#- apt-get install make xz-utils
...
...
@@ -23,11 +17,22 @@ stages:
-
test
build
:
stage
:
build
cache
:
key
:
"
$CI_JOB_NAME"
paths
:
-
.stack-root/
-
.stack-work/
script
:
-
stack build --no-terminal --haddock --no-haddock-deps --fast
test
:
cache
:
key
:
"
$CI_JOB_NAME"
paths
:
-
.stack-root/
-
.stack-work/
script
:
-
rm -rf .stack
-
rm -rf .stack-work
-
stack build --haddock --no-haddock-deps --fast
-
stack test --no-terminal --fast
# TOOO
#unit-test:
...
...
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