diff options
-rw-r--r-- | .gitlab-ci.yml | 95 |
1 files changed, 93 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d0b3c4e..ea538b4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -22,8 +22,7 @@ variables: when: always expire_in: 3 months -# disabled due kernel issue -.SDL_default_asan: +SDL_default_asan: stage: build script: - ./.ci/install.sh git mercurial bash gcc g++ make autoconf automake autopoint gettext libtool pkg-config cmake @@ -632,3 +631,95 @@ manaplus_default_old_test: dependencies: - SDL_default_old <<: *job-artifacts + +manaplus_default_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 --with-sdl2 + - /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ${runenvx} ${runenvz} ./tools/ci/scripts/checkldd.sh src/manaplustests + variables: + LIBNAME: SDL + LIBVERSION: default + 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_default + <<: *job-artifacts + +manaplus_default_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 --with-sdl2 + - /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: default + 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_default + <<: *job-artifacts + +manaplus_default_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 --with-sdl2 + - /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ${runenvx} ${runenvz} ./tools/ci/scripts/checkldd.sh src/manaplustests + variables: + LIBNAME: SDL + LIBVERSION: default_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_default_old + <<: *job-artifacts + +manaplus_default_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 --with-sdl2 + - /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: default_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_default_old + <<: *job-artifacts |