Imported Upstream version 2.6.1
[platform/upstream/cryptsetup.git] / .gitlab / ci / compilation-gcc.gitlab-ci.yml
1 test-gcc-compilation:
2   extends:
3     - .gitlab-shared-gcc
4   script:
5     - export CFLAGS="-Wall -Werror"
6     - ./configure
7     - make -j
8     - make -j check-programs
9
10 test-gcc-Wall-script:
11   extends:
12     - .gitlab-shared-gcc
13   script:
14     - export CFLAGS="-g -O0"
15     - export CC="$CI_PROJECT_DIR/.gitlab/ci/gcc-Wall"
16     - ./configure
17     - make -j CFLAGS="-g -O0 -Werror"
18     - make -j CFLAGS="-g -O0 -Werror" check-programs
19
20 test-gcc-fanalyzer:
21   extends:
22     - .gitlab-shared-gcc
23   script:
24     - export CFLAGS="-Wall -Werror -g -O0 -fanalyzer -fdiagnostics-path-format=separate-events"
25     - ./configure
26     - make -j
27     - make -j check-programs