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 e19b25680..d78eba0b3 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -2532,6 +2532,99 @@ gcc-6_SDL_default_old_test:
tags:
- docker
+gcc-6_SDL_SDL-1.2_sanitize:
+ 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.sh
+ - /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ${runenvx} ${runenvz} ./tools/ci/scripts/runtest.sh
+ - ldd ./src/manaplus | grep "libasan"
+ <<: *job-push
+ 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_master.sh
+ runenvx: /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runlibxml2_master.sh
+ tags:
+ - docker
+
+gcc-6_SDL_default_sanitize:
+ 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.sh --with-sdl2
+ - /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ${runenvx} ${runenvz} ./tools/ci/scripts/runtest.sh
+ - ldd ./src/manaplus | grep "libasan"
+ <<: *job-push
+ 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_master.sh
+ runenvx: /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runlibxml2_master.sh
+ tags:
+ - docker
+
+
+gcc-6_SDL_SDL-1.2_old_sanitize:
+ 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.sh
+ - /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ${runenvx} ${runenvz} ./tools/ci/scripts/runtest.sh
+ - ldd ./src/manaplus | grep "libasan"
+ <<: *job-push
+ 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:
+ 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.sh --with-sdl2
+ - /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ${runenvx} ${runenvz} ./tools/ci/scripts/runtest.sh
+ - ldd ./src/manaplus | grep "libasan"
+ <<: *job-push
+ 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_openglerrors_i386:
stage: build
script: