From f953faf6c1b26a19c2954d02b84533426220f19a Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 8 Mar 2017 21:49:31 +0300 Subject: In .gitlab-ci.yml add checks for asan linked if asan was enabled. --- .gitlab-ci.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to '.gitlab-ci.yml') 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 -- cgit v1.2.3-60-g2f50