summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-12-08 19:30:37 +0300
committerAndrei Karas <akaras@inbox.ru>2017-12-08 20:14:04 +0300
commit3231e210c3e0e7dce5e75a5ec611dfd6077c2490 (patch)
tree76fa95e8e399e820b818b86f587fff1c3a36f6e4
parent92d63070c581818a47f1e2c4cc9a3277874eb767 (diff)
downloadspm-3231e210c3e0e7dce5e75a5ec611dfd6077c2490.tar.gz
spm-3231e210c3e0e7dce5e75a5ec611dfd6077c2490.tar.bz2
spm-3231e210c3e0e7dce5e75a5ec611dfd6077c2490.tar.xz
spm-3231e210c3e0e7dce5e75a5ec611dfd6077c2490.zip
Add asan builds.
-rw-r--r--.gitlab-ci.yml93
1 files changed, 93 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index a5e58d3..e968437 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -220,3 +220,96 @@ manaplus_SDL-1.2_old_test:
dependencies:
- SDL_SDL-1.2_old
<<: *job-artifacts
+
+
+manaplus_SDL-1.2_asan_tests:
+ stage: manaplus
+ script:
+ - ./.ci/install.sh gcc-7 g++-7
+ make autoconf automake autopoint gettext pkg-config
+ libx11-dev libxext-dev libxt-dev libxv-dev x11proto-core-dev libgl1-mesa-dev libasound2-dev libglu1-mesa-dev libicu-dev
+ git wget unzip gdb valgrind netcat-openbsd procps
+ - ./.ci/clonesrc.sh
+ - cd cloned
+ - /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ${runenvx} ${runenvz} ./tools/ci/jobs/gcc7_sanitize_tests.sh --enable-unittests=yes --without-manaplusgame --without-dyecmd
+ - /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ${runenvx} ${runenvz} ./tools/ci/scripts/checkldd.sh src/manaplustests
+ variables:
+ LIBNAME: SDL
+ LIBVERSION: SDL-1.2
+ runenvz: /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runzlib_master.sh
+ runenvx: /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runlibxml2_master.sh
+ POST_CXXFLAGS: "-Wno-undef"
+ ASAN_OPTIONS: "detect_leaks=0"
+ JOBS: 1
+ dependencies:
+ - SDL_SDL-1.2
+ <<: *job-artifacts
+
+manaplus_SDL-1.2_asan:
+ stage: manaplus
+ script:
+ - ./.ci/install.sh gcc-7 g++-7
+ make autoconf automake autopoint gettext pkg-config
+ libx11-dev libxext-dev libxt-dev libxv-dev x11proto-core-dev libgl1-mesa-dev libasound2-dev libglu1-mesa-dev libicu-dev
+ git wget unzip gdb valgrind netcat-openbsd procps
+ - ./.ci/clonesrc.sh
+ - cd cloned
+ - /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ${runenvx} ${runenvz} ./tools/ci/jobs/gcc7_sanitize.sh --without-dyecmd
+ - /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ${runenvx} ${runenvz} ./tools/ci/scripts/checkldd.sh src/manaplus
+ - /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ${runenvx} ${runenvz} ./tools/ci/scripts/runtests.sh
+ variables:
+ LIBNAME: SDL
+ LIBVERSION: SDL-1.2
+ runenvz: /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runzlib_master.sh
+ runenvx: /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runlibxml2_master.sh
+ POST_CXXFLAGS: "-Wno-undef"
+ dependencies:
+ - SDL_SDL-1.2
+ <<: *job-artifacts
+
+manaplus_SDL-1.2_old_asan_test:
+ stage: manaplus
+ script:
+ - ./.ci/install.sh gcc-7 g++-7
+ make autoconf automake autopoint gettext pkg-config
+ libx11-dev libxext-dev libxt-dev libxv-dev x11proto-core-dev libgl1-mesa-dev libasound2-dev libglu1-mesa-dev libicu-dev
+ libjpeg-dev libtiff-dev
+ git wget unzip gdb valgrind netcat-openbsd procps
+ - ./.ci/clonesrc.sh
+ - cd cloned
+ - /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ${runenvx} ${runenvz} ./tools/ci/jobs/gcc7_sanitize_tests.sh --enable-unittests=yes --without-manaplusgame --without-dyecmd
+ - /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ${runenvx} ${runenvz} ./tools/ci/scripts/checkldd.sh src/manaplustests
+ variables:
+ LIBNAME: SDL
+ LIBVERSION: SDL-1.2_old
+ runenvz: /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runzlib_v1.2.5.sh
+ runenvx: /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runlibxml2_v2.9.1.sh
+ POST_CXXFLAGS: "-Wno-undef"
+ ASAN_OPTIONS: "detect_leaks=0"
+ JOBS: 1
+ dependencies:
+ - SDL_SDL-1.2_old
+ <<: *job-artifacts
+
+manaplus_SDL-1.2_old_asan:
+ stage: manaplus
+ script:
+ - ./.ci/install.sh gcc-7 g++-7
+ make autoconf automake autopoint gettext pkg-config
+ libx11-dev libxext-dev libxt-dev libxv-dev x11proto-core-dev libgl1-mesa-dev libasound2-dev libglu1-mesa-dev libicu-dev
+ libjpeg-dev libtiff-dev
+ git wget unzip gdb valgrind netcat-openbsd procps
+ - ./.ci/clonesrc.sh
+ - cd cloned
+ - /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ${runenvx} ${runenvz} ./tools/ci/jobs/gcc7_sanitize.sh --without-dyecmd
+ - /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ${runenvx} ${runenvz} ./tools/ci/scripts/checkldd.sh src/manaplus
+ - /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ${runenvx} ${runenvz} ./tools/ci/scripts/runtests.sh
+ variables:
+ LIBNAME: SDL
+ LIBVERSION: SDL-1.2_old
+ runenvz: /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runzlib_v1.2.5.sh
+ runenvx: /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runlibxml2_v2.9.1.sh
+ POST_CXXFLAGS: "-Wno-undef"
+ dependencies:
+ - SDL_SDL-1.2_old
+ <<: *job-artifacts