summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-02-14 02:04:15 +0300
committerAndrei Karas <akaras@inbox.ru>2017-02-14 02:04:15 +0300
commit040110e1da541ef467fec50962f161c72b698b14 (patch)
treeb26bd64f4714c1b357c127521d5293a180c2f1e4
parentd72fd6a6932e806b3b59082b2fb6b748e3c15594 (diff)
downloadmanaplus-040110e1da541ef467fec50962f161c72b698b14.tar.gz
manaplus-040110e1da541ef467fec50962f161c72b698b14.tar.bz2
manaplus-040110e1da541ef467fec50962f161c72b698b14.tar.xz
manaplus-040110e1da541ef467fec50962f161c72b698b14.zip
Add sanitize ci builds for very new and very old libraries.
-rw-r--r--.gitlab-ci.yml88
1 files changed, 88 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 8bf02067c..a2e89ee38 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1790,6 +1790,48 @@ gcc-6_SDL_default:
tags:
- docker
+gcc-6_SDL_SDL-1.2_sanitize_test:
+ stage: build
+ script:
+ - ./tools/ci/scripts/downloadlib.sh ${LIBNAME} ${LIBVERSION}
+ - echo /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ${runenvz}
+ - /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ${runenvx} ${runenvz} env
+ - /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
+ <<: *job-shared
+ variables:
+ LIBNAME: SDL
+ LIBVERSION: SDL-1.2
+ PACKAGES: gcc-6 g++-6
+ 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
+ valgrind
+ wget unzip
+ runenvz: /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runzlib_v1.2.8.sh
+ runenvx: /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runlibxml2_master.sh
+ tags:
+ - docker
+
+gcc-6_SDL_default_sanitize_test:
+ stage: build
+ script:
+ - ./tools/ci/scripts/downloadlib.sh ${LIBNAME} ${LIBVERSION}
+ - /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
+ <<: *job-shared
+ variables:
+ LIBNAME: SDL
+ LIBVERSION: default
+ PACKAGES: gcc-6 g++-6
+ make autoconf automake autopoint gettext pkg-config
+ libx11-dev libxext-dev libxt-dev libxv-dev x11proto-core-dev libgl1-mesa-dev libasound2-dev
+ valgrind
+ wget unzip
+ runenvz: /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runzlib_v1.2.8.sh
+ runenvx: /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runlibxml2_master.sh
+ tags:
+ - docker
+
gcc-6_SDL_SDL-1.2_test:
stage: build
script:
@@ -1875,6 +1917,52 @@ gcc-6_SDL_default_old:
tags:
- docker
+gcc-6_SDL_SDL-1.2_old_sanitize_test:
+ stage: build
+ script:
+ - ./tools/ci/scripts/downloadlib.sh ${LIBNAME} ${LIBVERSION}
+ - echo /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ${runenvz}
+ - /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ${runenvx} ${runenvz} env
+ - /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
+ <<: *job-shared
+ variables:
+ LIBNAME: SDL
+ LIBVERSION: SDL-1.2_old
+ PACKAGES: gcc-6 g++-6
+ 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
+ valgrind
+ libjpeg-dev libtiff-dev
+ wget unzip
+ 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"
+ tags:
+ - docker
+
+gcc-6_SDL_default_old_sanitize_test:
+ stage: build
+ script:
+ - ./tools/ci/scripts/downloadlib.sh ${LIBNAME} ${LIBVERSION}
+ - /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
+ <<: *job-shared
+ variables:
+ LIBNAME: SDL
+ LIBVERSION: default_old
+ PACKAGES: gcc-6 g++-6
+ make autoconf automake autopoint gettext pkg-config
+ libx11-dev libxext-dev libxt-dev libxv-dev x11proto-core-dev libgl1-mesa-dev libasound2-dev
+ valgrind
+ libjpeg-dev libtiff-dev
+ wget unzip
+ 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"
+ tags:
+ - docker
+
gcc-6_SDL_SDL-1.2_old_test:
stage: build
script: