Skip to content

Commit ae2bde4

Browse files
committed
Added Gitlab CI/CD, now doing a cabal build
1 parent 3618d26 commit ae2bde4

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.gitlab-ci.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
stages:
2+
- build
3+
4+
cache:
5+
key: ${CI_COMMIT_REF_SLUG}
6+
paths:
7+
- .cabal-sandbox
8+
9+
cabal:
10+
stage: build
11+
image: haskell:8.4.3
12+
script:
13+
- cabal update
14+
- cabal sandbox init
15+
- cabal install hpack
16+
- cabal exec hpack
17+
- cabal install --only-dependencies --enable-tests
18+
- cabal configure --enable-tests
19+
- cabal build
20+
- cabal test

0 commit comments

Comments
 (0)