-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy path.gitlab-ci.yml
42 lines (36 loc) · 1.18 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
.fedora.latest.template: &fedora_template
image: fedora:latest
before_script:
- dnf install -y GeoIP-devel libmaxminddb-devel make gcc libasan geolite2-{city,country}
fedora.nogeo:
<<: *fedora_template
script:
- USE_MAXMIND=no USE_GEOIP=no USE_RUNTIME_LINKING=no CFLAGS="-O2 -g -Werror" make
- make check
fedora.geoip:
<<: *fedora_template
script:
- USE_GEOIP=yes USE_RUNTIME_LINKING=no USE_MAXMIND=no CFLAGS="-O2 -g -Werror" make
- make check
fedora.dyn_geoip:
<<: *fedora_template
script:
- USE_GEOIP=yes USE_RUNTIME_LINKING=yes USE_MAXMIND=no CFLAGS="-O2 -g -Werror" make
- make check
fedora.maxmind:
<<: *fedora_template
script:
- USE_GEOIP=no USE_RUNTIME_LINKING=no USE_MAXMIND=yes CFLAGS="-O2 -g -Werror" make
- make check
fedora.dyn_maxmind:
<<: *fedora_template
script:
- USE_GEOIP=no USE_RUNTIME_LINKING=yes USE_MAXMIND=yes CFLAGS="-O2 -g -Werror" make
- make check
fedora.dyn_maxmind_with_asan:
<<: *fedora_template
script:
- USE_GEOIP=no USE_RUNTIME_LINKING=yes USE_MAXMIND=yes CFLAGS="-fsanitize=address -O2 -g -Werror" make
- export ASAN_OPTIONS="detect_leaks=0"
- make check
- ./ipcalc -g 217.31.205.50