-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitlab-ci.yml
More file actions
82 lines (77 loc) · 2.24 KB
/
Copy path.gitlab-ci.yml
File metadata and controls
82 lines (77 loc) · 2.24 KB
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
73
74
75
76
77
78
79
80
81
82
linux:
stage: build
script:
- echo "en_US.UTF-8 UTF-8" > /etc/locale.gen
- env DEBIAN_FRONTEND=noninteractive apt-get -y update
- env DEBIAN_FRONTEND=noninteractive apt-get -y install texinfo
- autoreconf -i
- ./configure
- make -j8 || make
- make check -j8
tags:
- linux
linux_cxx:
stage: build
script:
- echo "en_US.UTF-8 UTF-8" > /etc/locale.gen
- env DEBIAN_FRONTEND=noninteractive apt-get -y update
- env DEBIAN_FRONTEND=noninteractive apt-get -y install texinfo
- autoreconf -i
- ./configure CC=g++
- make -j8 || make
- make check -j8
tags:
- linux
linux_clang:
stage: build
script:
- echo "en_US.UTF-8 UTF-8" > /etc/locale.gen
- env DEBIAN_FRONTEND=noninteractive apt-get -y update
- env DEBIAN_FRONTEND=noninteractive apt-get -y install texinfo clang
- autoreconf -i
- ./configure CC=clang
- make -j8 || make
- make check -j8
tags:
- linux
linux_Werror:
stage: build
script:
- echo "en_US.UTF-8 UTF-8" > /etc/locale.gen
- env DEBIAN_FRONTEND=noninteractive apt-get -y update
- env DEBIAN_FRONTEND=noninteractive apt-get -y install texinfo
- autoreconf -i
# we use -O2 with -fanalyzer otherwise without optimization it reports
# warnings in sub1sp.c with INITIALIZED(sh)
# disable -fanalyzer for now since it does not work with -Werror
# (see TODO)
# - ./configure CFLAGS="-O2 -Werror -fanalyzer"
- ./configure CFLAGS="-O2 -Werror"
- make -j8 || make
- make check -j8
tags:
- linux
c90compatibility:
stage: build
script:
- echo "en_US.UTF-8 UTF-8" > /etc/locale.gen
- env DEBIAN_FRONTEND=noninteractive apt-get -y update
- env DEBIAN_FRONTEND=noninteractive apt-get -y install texinfo
- autoreconf -i
- ./configure CFLAGS="-std=c90 -pedantic-errors -Wno-error=overlength-strings"
- make -j8 || make
- make check -j8
tags:
- linux
linux_largemem:
stage: build
script:
- echo "en_US.UTF-8 UTF-8" > /etc/locale.gen
- env DEBIAN_FRONTEND=noninteractive apt-get -y update
- env DEBIAN_FRONTEND=noninteractive apt-get -y install texinfo
- autoreconf -i
- ./configure
- make -j8 || make
- MPFR_CHECK_LARGEMEM=true make check -j8
tags:
- linux