Commit 908341d9 authored by Alfredo Di Napoli's avatar Alfredo Di Napoli

Misc improvements

parent 82baf54d
Pipeline #4010 failed with stages
in 6 minutes and 58 seconds
...@@ -14,10 +14,12 @@ variables: ...@@ -14,10 +14,12 @@ variables:
stages: stages:
- deps - deps
- docs - cabal
- test - test
- docs
deps: deps:
stage: deps
cache: cache:
# cache per branch name # cache per branch name
# key: ${CI_COMMIT_REF_SLUG} # key: ${CI_COMMIT_REF_SLUG}
...@@ -27,9 +29,10 @@ deps: ...@@ -27,9 +29,10 @@ deps:
- .stack-work/ - .stack-work/
- target - target
script: script:
- stack --nix build --no-terminal --haddock --no-haddock-deps --only-dependencies --fast - stack -v --nix build --no-terminal --haddock --no-haddock-deps --only-dependencies --fast
docs: docs:
stage: docs
cache: cache:
# cache per branch name # cache per branch name
# key: ${CI_COMMIT_REF_SLUG} # key: ${CI_COMMIT_REF_SLUG}
...@@ -47,6 +50,7 @@ docs: ...@@ -47,6 +50,7 @@ docs:
expire_in: 1 week expire_in: 1 week
test: test:
stage: test
cache: cache:
# cache per branch name # cache per branch name
# key: ${CI_COMMIT_REF_SLUG} # key: ${CI_COMMIT_REF_SLUG}
...@@ -61,6 +65,7 @@ test: ...@@ -61,6 +65,7 @@ test:
# TOOO # TOOO
cabal: cabal:
stage: cabal
cache: cache:
# cache per branch name # cache per branch name
# key: ${CI_COMMIT_REF_SLUG} # key: ${CI_COMMIT_REF_SLUG}
...@@ -68,6 +73,8 @@ cabal: ...@@ -68,6 +73,8 @@ cabal:
- .stack - .stack
- .stack-root/ - .stack-root/
- .stack-work/ - .stack-work/
- .local/
- .cabal/
- target - target
script: script:
- nix-shell && hpack && cabal v2-build --dry-run - nix-shell && hpack && cabal v2-build --dry-run
......
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