summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-03-08 21:49:31 +0300
committerAndrei Karas <akaras@inbox.ru>2017-03-08 22:42:52 +0300
commitf953faf6c1b26a19c2954d02b84533426220f19a (patch)
treea08f0534f2d4e7d742ea3e3aa6fcd8e868fb1cc8 /.gitlab-ci.yml
parentf8d367c27741fd47d98f4258841377f10e0dcdac (diff)
downloadManaVerse-f953faf6c1b26a19c2954d02b84533426220f19a.tar.gz
ManaVerse-f953faf6c1b26a19c2954d02b84533426220f19a.tar.bz2
ManaVerse-f953faf6c1b26a19c2954d02b84533426220f19a.tar.xz
ManaVerse-f953faf6c1b26a19c2954d02b84533426220f19a.zip
In .gitlab-ci.yml add checks for asan linked if asan was enabled.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml17
1 files changed, 17 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 8637d20c7..88fd775c8 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -248,6 +248,7 @@ icccheck:
- /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ${runenvx} ${runenvz} ./tools/ci/jobs/gcc6_sanitize_tests.sh --without-manaplusgame --without-dyecmd
- export LD_PRELOAD
- /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ${runenvx} ${runenvz} ./tools/ci/scripts/checkldd.sh src/manaplustests
+ - ldd ./src/manaplustests | grep "libasan"
<<: *job-shared
variables:
LIBNAME: SDL
@@ -272,6 +273,7 @@ icccheck:
- /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ${runenvx} ${runenvz} ./tools/ci/jobs/gcc6_sanitize_tests.sh --with-sdl2 --without-manaplusgame --without-dyecmd
- export LD_PRELOAD
- /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ${runenvx} ${runenvz} ./tools/ci/scripts/checkldd.sh src/manaplustests
+ - ldd ./src/manaplustests | grep "libasan"
<<: *job-shared
variables:
LIBNAME: SDL
@@ -291,6 +293,7 @@ gcc-5_sanitize_tests:
stage: build
script:
- ./tools/ci/jobs/gcc5_sanitize_tests.sh
+ - ldd ./src/manaplustests | grep "libasan"
<<: *job-shared
variables:
PACKAGES: gcc-5 g++-5
@@ -319,6 +322,7 @@ gcc-5_sanitize_tests_i386:
stage: build
script:
- ./tools/ci/jobs/gcc5_sanitize_tests.sh --without-dyecmd --without-manaplusgame
+ - ldd ./src/manaplustests | grep "libasan"
image: vicamo/debian:sid-i386
<<: *job-shared
variables:
@@ -334,6 +338,7 @@ gcc-5_sanitize_no_opengl_tests:
stage: build
script:
- ./tools/ci/jobs/gcc5_sanitize_tests.sh --without-opengl --without-dyecmd --without-manaplusgame
+ - ldd ./src/manaplustests | grep "libasan"
<<: *job-shared
variables:
PACKAGES: gcc-5 g++-5
@@ -348,6 +353,7 @@ gcc-5_sanitize_no_opengltests_i386:
stage: build
script:
- ./tools/ci/jobs/gcc5_sanitize_tests.sh --without-opengl --without-dyecmd --without-manaplusgame
+ - ldd ./src/manaplustests | grep "libasan"
image: vicamo/debian:sid-i386
<<: *job-shared
variables:
@@ -1214,6 +1220,7 @@ gcc-5_sanitize:
stage: build
script:
- ./tools/ci/jobs/gcc5_sanitize.sh
+ - ldd ./src/manaplustests | grep "libasan"
<<: *job-shared
variables:
PACKAGES: gcc-5 g++-5
@@ -1227,6 +1234,7 @@ gcc-6_sanitize:
stage: build
script:
- ./tools/ci/jobs/gcc6_sanitize.sh
+ - ldd ./src/manaplustests | grep "libasan"
<<: *job-shared
variables:
PACKAGES: gcc-6 g++-6
@@ -1240,6 +1248,7 @@ gcc-6_sanitize_i386:
stage: build
script:
- ./tools/ci/jobs/gcc6_sanitize.sh
+ - ldd ./src/manaplustests | grep "libasan"
image: vicamo/debian:sid-i386
<<: *job-shared
variables:
@@ -1254,6 +1263,7 @@ gcc-6_sanitize_physfs:
stage: build
script:
- ./tools/ci/jobs/gcc6_sanitize.sh --with-physfs
+ - ldd ./src/manaplustests | grep "libasan"
<<: *job-shared
variables:
PACKAGES: gcc-6 g++-6
@@ -1268,6 +1278,7 @@ gcc-6_sanitize_physfs_i386:
stage: build
script:
- ./tools/ci/jobs/gcc6_sanitize.sh --with-physfs
+ - ldd ./src/manaplustests | grep "libasan"
image: vicamo/debian:sid-i386
<<: *job-shared
variables:
@@ -1499,6 +1510,7 @@ gcc-5_tarball:
stage: build
script:
- ./tools/ci/jobs/gccsnapshot_sanitize_tests.sh --without-dyecmd --without-manaplusgame
+ - ldd ./src/manaplustests | grep "libasan"
<<: *job-shared
image: fedora:rawhide
variables:
@@ -1511,6 +1523,7 @@ gcc-5_tarball:
stage: build
script:
- ./tools/ci/jobs/gccsnapshot_sanitize_tests.sh --with-sdl2 --without-dyecmd --without-manaplusgame
+ - ldd ./src/manaplustests | grep "libasan"
<<: *job-shared
image: fedora:rawhide
variables:
@@ -1909,6 +1922,7 @@ gcc-6_SDL_SDL-1.2_sanitize_test:
- /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ${runenvx} ${runenvz} ./tools/ci/jobs/gcc6_sanitize_tests.sh --without-manaplusgame --without-dyecmd
- /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ${runenvx} ${runenvz} ./tools/ci/scripts/checkldd.sh src/manaplustests
- /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ${runenvx} ${runenvz} ./tools/ci/scripts/checkldd.sh src/manaplustests libasan
+ - ldd ./src/manaplustests | grep "libasan"
<<: *job-shared
variables:
LIBNAME: SDL
@@ -1930,6 +1944,7 @@ gcc-6_SDL_default_sanitize_test:
- /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ${runenvx} ${runenvz} ./tools/ci/jobs/gcc6_sanitize_tests.sh --with-sdl2 --without-manaplusgame --without-dyecmd
- /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ${runenvx} ${runenvz} ./tools/ci/scripts/checkldd.sh src/manaplustests
- /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ${runenvx} ${runenvz} ./tools/ci/scripts/checkldd.sh src/manaplustests libasan
+ - ldd ./src/manaplustests | grep "libasan"
<<: *job-shared
variables:
LIBNAME: SDL
@@ -2038,6 +2053,7 @@ gcc-6_SDL_SDL-1.2_old_sanitize_test:
- /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ${runenvx} ${runenvz} ./tools/ci/jobs/gcc6_sanitize_tests.sh --without-manaplusgame --without-dyecmd
- /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ${runenvx} ${runenvz} ./tools/ci/scripts/checkldd.sh src/manaplustests
- /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ${runenvx} ${runenvz} ./tools/ci/scripts/checkldd.sh src/manaplustests libasan
+ - ldd ./src/manaplustests | grep "libasan"
<<: *job-shared
variables:
LIBNAME: SDL
@@ -2061,6 +2077,7 @@ gcc-6_SDL_default_old_sanitize_test:
- /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ${runenvx} ${runenvz} ./tools/ci/jobs/gcc6_sanitize_tests.sh --with-sdl2 --without-manaplusgame --without-dyecmd
- /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ${runenvx} ${runenvz} ./tools/ci/scripts/checkldd.sh src/manaplustests
- /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ${runenvx} ${runenvz} ./tools/ci/scripts/checkldd.sh src/manaplustests libasan
+ - ldd ./src/manaplustests | grep "libasan"
<<: *job-shared
variables:
LIBNAME: SDL