mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-06 00:10:04 +01:00
Compile test also programs tests dir.
This commit is contained in:
@@ -5,6 +5,7 @@ test-clang-compilation:
|
||||
- export CFLAGS="-Wall -Werror"
|
||||
- ./configure
|
||||
- make -j
|
||||
- make -j check-programs
|
||||
|
||||
test-clang-Wall-script:
|
||||
extends:
|
||||
@@ -14,6 +15,7 @@ test-clang-Wall-script:
|
||||
- export CC=".gitlab/ci/clang-Wall"
|
||||
- ./configure
|
||||
- make -j CFLAGS="-g -O0 -Werror"
|
||||
- make -j CFLAGS="-g -O0 -Werror" check-programs
|
||||
|
||||
test-scan-build:
|
||||
extends:
|
||||
@@ -22,3 +24,4 @@ test-scan-build:
|
||||
- scan-build${COMPILER_VERSION:+-$COMPILER_VERSION} -V ./configure CFLAGS="-g -O0"
|
||||
- make clean
|
||||
- scan-build${COMPILER_VERSION:+-$COMPILER_VERSION} --status-bugs -maxloop 10 make -j
|
||||
- scan-build${COMPILER_VERSION:+-$COMPILER_VERSION} --status-bugs -maxloop 10 make -j check-programs
|
||||
|
||||
@@ -5,6 +5,7 @@ test-gcc-compilation:
|
||||
- export CFLAGS="-Wall -Werror"
|
||||
- ./configure
|
||||
- make -j
|
||||
- make -j check-programs
|
||||
|
||||
test-gcc-Wall-script:
|
||||
extends:
|
||||
@@ -14,6 +15,7 @@ test-gcc-Wall-script:
|
||||
- export CC=".gitlab/ci/gcc-Wall"
|
||||
- ./configure
|
||||
- make -j CFLAGS="-g -O0 -Werror"
|
||||
- make -j CFLAGS="-g -O0 -Werror" check-programs
|
||||
|
||||
test-gcc-fanalyzer:
|
||||
extends:
|
||||
@@ -22,3 +24,4 @@ test-gcc-fanalyzer:
|
||||
- export CFLAGS="-Wall -Werror -g -O0 -fanalyzer -fdiagnostics-path-format=separate-events"
|
||||
- ./configure
|
||||
- make -j
|
||||
- make -j check-programs
|
||||
|
||||
Reference in New Issue
Block a user