-
Notifications
You must be signed in to change notification settings - Fork 10
/
.gitlab-ci.yml
73 lines (59 loc) · 1.75 KB
/
.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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
before_script:
- apt-get update
# needed to download NuGet
- apt-get install -y curl
stages:
- build
- test
stockmono_build:
image: ubuntu:18.04
stage: build
script:
# https://askubuntu.com/a/1013396
- DEBIAN_FRONTEND=noninteractive apt-get install -y nuget mono-complete mono-xbuild fsharp
- mono --version
- time (./configure.sh && make && make install)
# so that we log the version of nuget for when it works
- make nuget
stockmono_test:
image: ubuntu:18.04
stage: test
script:
# https://askubuntu.com/a/1013396
- DEBIAN_FRONTEND=noninteractive apt-get install -y nuget mono-complete mono-xbuild fsharp
- time (apt-get install -y nunit-console &&
./configure.sh &&
make &&
make check)
stocknewmono_build:
image: ubuntu:19.04
stage: build
script:
# https://askubuntu.com/a/1013396
- DEBIAN_FRONTEND=noninteractive apt-get install -y nuget mono-complete mono-xbuild fsharp
- mono --version
# compilation fails due to this bug: https://github.com/fsharp/fsharp/issues/740
#- time (./configure.sh && make && make install)
# so that we log the version of nuget for when it works
#- make nuget
newmono_build:
image: ubuntu:18.04
stage: build
artifacts:
paths:
- bin/*.zip
expire_in: 1 week
script:
- ./scripts/install_mono_from_microsoft_deb_packages.sh
- time (./configure.sh && make && make install)
# so that we log the version of nuget for when it works
- make nuget
- apt-get install -y zip
- make zip
newmono_test:
image: ubuntu:18.04
stage: test
script:
- ./scripts/install_mono_from_microsoft_deb_packages.sh
- apt install -y nunit-console
- time (./configure.sh && make && make check)