-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.gitlab-ci.yml
55 lines (47 loc) · 965 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
52
53
54
55
---
image: gitlab.fi.muni.cz:5050/xstill/ci-images/haskell-ib015:v2022.0.0
doc:
stage: build
script:
- make doc
artifacts:
name: "doc"
paths:
- _build/doc/
when: on_success
expire_in: 1 month
tags:
- shared-fi
.validate_template: &validate_def
stage: build
before_script:
- PATH=/opt/ghc/$GHCVERS/bin:$PATH
- echo "GHC = ghc-$GHCVERS" >> local.make
script:
- make test
tags:
- shared-fi
validate_8.4:
<<: *validate_def
variables:
GHCVERS: 8.4.4
validate_8.6:
<<: *validate_def
variables:
GHCVERS: 8.6.5
validate_8.8:
<<: *validate_def
variables:
GHCVERS: 8.8.4
validate_8.10:
<<: *validate_def
variables:
GHCVERS: 8.10.4
validate_9.0:
<<: *validate_def
variables:
GHCVERS: 9.0.1
validate_9.2:
<<: *validate_def
variables:
GHCVERS: 9.2.3