summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-12-09 02:14:35 +0300
committerAndrei Karas <akaras@inbox.ru>2017-12-09 02:14:35 +0300
commit84f432a501876bac92f5267243e0c48faab760b1 (patch)
tree64399af7841c73ced3bb2ede0a6d047e37c214df
parent34a45a47a0b9cfe5647c7dc2c2f925356040d66a (diff)
downloadspm-84f432a501876bac92f5267243e0c48faab760b1.tar.gz
spm-84f432a501876bac92f5267243e0c48faab760b1.tar.bz2
spm-84f432a501876bac92f5267243e0c48faab760b1.tar.xz
spm-84f432a501876bac92f5267243e0c48faab760b1.zip
Add asan builds.
-rw-r--r--.gitlab-ci.yml83
1 files changed, 83 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 6e7ef66..a82115c 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -758,3 +758,86 @@ manaplus_v1.2.3.9_tests:
dependencies:
- zlib_v1.2.3.9
<<: *job-artifacts
+
+
+manaplus_master_asan_tests:
+ stage: manaplus
+ script:
+ - ./.ci/install.sh gcc-7 g++-7
+ make autoconf automake autopoint gettext
+ libxml2-dev libcurl4-gnutls-dev libpng-dev
+ libsdl-gfx1.2-dev libsdl-image1.2-dev libsdl-mixer1.2-dev libsdl-net1.2-dev libsdl-ttf2.0-dev
+ git wget unzip gdb valgrind netcat-openbsd procps
+ - ./.ci/clonesrc.sh
+ - cd cloned
+ - /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ./tools/ci/jobs/gcc7_sanitize_tests.sh --enable-unittests=yes --without-manaplusgame --without-dyecmd
+ - /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ./tools/ci/scripts/checkldd.sh src/manaplustests
+ variables:
+ LIBNAME: zlib
+ LIBVERSION: master
+ ASAN_OPTIONS: "detect_leaks=0"
+ JOBS: 1
+ dependencies:
+ - zlib_master
+ <<: *job-artifacts
+
+manaplus_master_asan:
+ stage: manaplus
+ script:
+ - ./.ci/install.sh gcc-7 g++-7
+ make autoconf automake autopoint gettext
+ libxml2-dev libcurl4-gnutls-dev libpng-dev
+ libsdl-gfx1.2-dev libsdl-image1.2-dev libsdl-mixer1.2-dev libsdl-net1.2-dev libsdl-ttf2.0-dev
+ git wget unzip gdb valgrind netcat-openbsd procps
+ - ./.ci/clonesrc.sh
+ - cd cloned
+ - /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ./tools/ci/jobs/gcc7_sanitize.sh --without-dyecmd
+ - /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ./tools/ci/scripts/checkldd.sh src/manaplus
+ - /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ./tools/ci/scripts/runtests.sh
+ variables:
+ LIBNAME: zlib
+ LIBVERSION: master
+ dependencies:
+ - zlib_master
+ <<: *job-artifacts
+
+manaplus_develop_asan_tests:
+ stage: manaplus
+ script:
+ - ./.ci/install.sh gcc-7 g++-7
+ make autoconf automake autopoint gettext
+ libxml2-dev libcurl4-gnutls-dev libpng-dev
+ libsdl-gfx1.2-dev libsdl-image1.2-dev libsdl-mixer1.2-dev libsdl-net1.2-dev libsdl-ttf2.0-dev
+ git wget unzip gdb valgrind netcat-openbsd procps
+ - ./.ci/clonesrc.sh
+ - cd cloned
+ - /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ./tools/ci/jobs/gcc7_sanitize_tests.sh --enable-unittests=yes --without-manaplusgame --without-dyecmd
+ - /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ./tools/ci/scripts/checkldd.sh src/manaplustests
+ variables:
+ LIBNAME: zlib
+ LIBVERSION: develop
+ ASAN_OPTIONS: "detect_leaks=0"
+ JOBS: 1
+ dependencies:
+ - zlib_develop
+ <<: *job-artifacts
+
+manaplus_develop_asan:
+ stage: manaplus
+ script:
+ - ./.ci/install.sh gcc-7 g++-7
+ make autoconf automake autopoint gettext
+ libxml2-dev libcurl4-gnutls-dev libpng-dev
+ libsdl-gfx1.2-dev libsdl-image1.2-dev libsdl-mixer1.2-dev libsdl-net1.2-dev libsdl-ttf2.0-dev
+ git wget unzip gdb valgrind netcat-openbsd procps
+ - ./.ci/clonesrc.sh
+ - cd cloned
+ - /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ./tools/ci/jobs/gcc7_sanitize.sh --without-dyecmd
+ - /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ./tools/ci/scripts/checkldd.sh src/manaplus
+ - /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ./tools/ci/scripts/runtests.sh
+ variables:
+ LIBNAME: zlib
+ LIBVERSION: develop
+ dependencies:
+ - zlib_develop
+ <<: *job-artifacts