summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-04-27 00:20:27 +0300
committerAndrei Karas <akaras@inbox.ru>2017-04-27 02:01:52 +0300
commit801cef43103cdd588c8b5c6bef57a638e1e82a2e (patch)
tree2c578ddf4ea7cee7ad94909157b3326fa2266bd4
parenta0e24435d7e0c789badb318888517a61087e279d (diff)
downloadplus-801cef43103cdd588c8b5c6bef57a638e1e82a2e.tar.gz
plus-801cef43103cdd588c8b5c6bef57a638e1e82a2e.tar.bz2
plus-801cef43103cdd588c8b5c6bef57a638e1e82a2e.tar.xz
plus-801cef43103cdd588c8b5c6bef57a638e1e82a2e.zip
Add builds with custom libs and sanity flags into .gitlab-ci.yml
-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: