summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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