blob: 7c30579a3ad1fd21833b6c0c336047b53e0c5eae (
plain)
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
83
84
85
86
87
88
89
90
91
|
image: centos:7
variables:
BUILD_IMAGES_PROJECT: gnutls/build-images
FEDORA_BUILD: buildenv-f25
before_script:
- yum install -y git make autoconf libtool automake gettext-devel glibc-devel gcc valgrind libasan-static libgcc.i686 glibc-devel.i686
# See http://doc.gitlab.com/ce/ci/yaml/ for documentation.
build/x86-64:
script:
- yum install -y gmp-devel
- ./.bootstrap &&
./configure --enable-fat --disable-documentation && make -j4 &&
make check -j4
tags:
- shared
except:
- tags
build/x86:
script:
- yum install -y gmp-devel.i686
- ./.bootstrap &&
PKG_CONFIG_PATH="/usr/lib/pkgconfig/" CFLAGS="-O2 -g -m32" LDFLAGS="-m32" ./configure --build=i686-redhat-linux --enable-fat --disable-documentation && make -j4 &&
make check -j4
tags:
- shared
except:
- tags
build/aarch64:
before_script:
- /bin/true
script:
- ./.bootstrap &&
./configure --enable-fat --disable-documentation && make -j4 &&
make check -j4
tags:
- aarch64
only:
- branches@gnutls/nettle
except:
- tags
Build and Check with mini-gmp:
script:
- ./.bootstrap &&
./configure --disable-documentation --enable-mini-gmp && make -j4 &&
make check -j4
tags:
- shared
except:
- tags
Build and Check with ubsan:
image: fedora:25
script:
- yum install -y gmp-devel libubsan-static libubsan
- ./.bootstrap &&
CXXFLAGS="-fsanitize=undefined -fno-sanitize-recover -g -O2" CFLAGS="-fsanitize=undefined -fno-sanitize-recover -g -O2" ./configure
--disable-documentation && make -j4 && make check -j4
tags:
- shared
except:
- tags
Build and Check with asan:
image: fedora:25
script:
- yum install -y gmp-devel
- ./.bootstrap &&
- CXXFLAGS="-fsanitize=address -g -O2" CFLAGS="-fsanitize=address -g -O2" ./configure --disable-documentation &&
make -j4 && make check -j4
tags:
- shared
except:
- tags
Build with static-analyzers:
image: fedora:25
script:
- yum install -y gmp-devel clang compiler-rt cppcheck clang-analyzer
- ./.bootstrap
- scan-build ./configure --disable-documentation
- scan-build --status-bugs -o scan-build-lib make -j$(nproc)
tags:
- shared
except:
- tags
artifacts:
expire_in: 1 week
when: on_failure
paths:
- scan-build-lib/*
|