-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitlab-ci.yml
More file actions
86 lines (75 loc) · 2.55 KB
/
.gitlab-ci.yml
File metadata and controls
86 lines (75 loc) · 2.55 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
83
84
85
86
stages:
- test
check:
stage: test
image: debian:latest
script:
- apt-get update -qq && apt-get install -qq build-essential git libmpfr-dev
- ./ci.sh
check_sanitize:
stage: test
image: debian:latest
script:
- apt-get update -qq && apt-get install -qq build-essential git libmpfr-dev
- CFLAGS="-fsanitize=undefined -fsanitize=address" LDFLAGS="-fsanitize=undefined -fsanitize=address" ./ci.sh
check_sanitize_clang:
stage: test
image: silkeh/clang:latest
script:
- apt-get update -qq && apt-get install -qq build-essential git libmpfr-dev
- CC=clang CORE_MATH_NO_OPENMP=1 CFLAGS=-fsanitize=undefined LDFLAGS=-fsanitize=undefined ./ci.sh
check_without_fma:
stage: test
image: debian:latest
script:
- apt-get update -qq && apt-get install -qq build-essential git libmpfr-dev
- EXTRA_CFLAGS="-march=x86-64 -Werror -fsanitize=undefined -fno-sanitize-recover" ./ci.sh
check_dry:
stage: test
image: debian:latest
script:
- apt-get update -qq && apt-get install -qq build-essential git libmpfr-dev
- FORCE=true DRY=--dry ./ci.sh
check_dry_with_O3:
stage: test
image: debian:latest
script:
- apt-get update -qq && apt-get install -qq build-essential git libmpfr-dev
- FORCE=true DRY=--dry CFLAGS=-O3 ./ci.sh
check_dry_inexact_errno:
stage: test
image: debian:latest
script:
- apt-get update -qq && apt-get install -qq build-essential git libmpfr-dev
- FORCE=true DRY=--dry CFLAGS="-DCORE_MATH_CHECK_INEXACT -DCORE_MATH_SUPPORT_ERRNO" ./ci.sh
check_dry_inexact:
stage: test
image: debian:latest
before_script:
- ci/00-prepare-docker.sh
script:
- apt-get update -qq && apt-get install -qq build-essential git
- FORCE=true DRY=--dry CFLAGS="-DCORE_MATH_CHECK_INEXACT" ./ci.sh
check_dry_errno:
stage: test
image: debian:latest
before_script:
- ci/00-prepare-docker.sh
script:
- apt-get update -qq && apt-get install -qq build-essential git
- FORCE=true DRY=--dry CFLAGS="-DCORE_MATH_SUPPORT_ERRNO" ./ci.sh
check_dry_clang:
stage: test
image: silkeh/clang:latest
script:
- apt-get update -qq && apt-get install -qq build-essential git libmpfr-dev
- CORE_MATH_NO_OPENMP=1 FORCE=true DRY=--dry CC=clang ./ci.sh
check_dry_icx:
stage: test
image: intel/oneapi-hpckit:latest
before_script:
- ci/00-prepare-docker.sh
script:
- apt-get update -qq && apt-get install -qq build-essential git libmpfr-dev
# MPFR-dev is installed in /usr/local
- FORCE=true DRY=--dry CC=icx LDFLAGS="-L /usr/local/lib" EXTRA_CFLAGS="-I /usr/local/include" ./ci.sh