-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitlab-ci.yml
51 lines (44 loc) · 986 Bytes
/
.gitlab-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
image: gitlab.ewi.tudelft.nl:4242/cse3100/admin/docker-ci-image-builder@sha256:c90d2992bfdea2c9dd7a3c07c874487c05e234ab88aeb49e450ad70567e8ff14
stages:
- build
- test
build:
stage: build
before_script:
- cp -r ~/.cabal .
- cp -r /dist-newstyle .
- cabal v2-configure --enable-tests
script:
- cabal v2-build exe:jq-clone
from-upstream:
stage: test
before_script:
- cp -r ~/.cabal .
- cp -r /dist-newstyle .
- cabal v2-configure --enable-tests
script:
- cabal test from-upstream
week3:
stage: test
before_script:
- cp -r ~/.cabal .
- cp -r /dist-newstyle .
- cabal v2-configure --enable-tests
script:
- cabal test week3
week4:
stage: test
before_script:
- cp -r ~/.cabal .
- cp -r /dist-newstyle .
- cabal v2-configure --enable-tests
script:
- cabal test week4
unit-tests:
stage: test
before_script:
- cp -r ~/.cabal .
- cp -r /dist-newstyle .
- cabal v2-configure --enable-tests
script:
- cabal test unit-tests