From c17e6c9f3d51269e2e9e9088de33e5f53f24e46e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 18 Jun 2018 21:47:41 +0300 Subject: Add gcc-8 build in ci_gcc8 branch. --- tools/ci/branches/ci_gcc8/.gitlab-ci.yml | 122 +++++++++++++++++++++++++++++++ tools/ci/scripts/triggers.sh | 2 + 2 files changed, 124 insertions(+) create mode 100644 tools/ci/branches/ci_gcc8/.gitlab-ci.yml (limited to 'tools') diff --git a/tools/ci/branches/ci_gcc8/.gitlab-ci.yml b/tools/ci/branches/ci_gcc8/.gitlab-ci.yml new file mode 100644 index 000000000..a3903b1dd --- /dev/null +++ b/tools/ci/branches/ci_gcc8/.gitlab-ci.yml @@ -0,0 +1,122 @@ +.job-push: &job-push + artifacts: + paths: + - logs + - manaplus/logs + when: always + expire_in: 3 week + dependencies: [] + +.job-always: &job-always + artifacts: + paths: + - logs + - manaplus/logs + when: always + expire_in: 3 week + dependencies: [] + +gcc-8_sdl2: + stage: build + script: + - ./tools/ci/jobs/gcc8.sh --with-sdl2 + - ./tools/ci/scripts/runtests.sh + <<: *job-push + variables: + PACKAGES: gcc-8 g++-8 + make autoconf automake autopoint gettext + libxml2-dev libcurl4-gnutls-dev libpng-dev + libsdl2-gfx-dev libsdl2-image-dev libsdl2-mixer-dev libsdl2-net-dev libsdl2-ttf-dev + git gdb valgrind netcat-openbsd procps + +gcc-8_sdl2_i386: + stage: build + script: + - ./tools/ci/jobs/gcc8.sh --with-sdl2 + - ./tools/ci/scripts/runtests.sh + <<: *job-push + image: vicamo/debian:sid-i386 + variables: + PACKAGES: gcc-8 g++-8 + make autoconf automake autopoint gettext + libxml2-dev libcurl4-gnutls-dev libpng-dev + libsdl2-gfx-dev libsdl2-image-dev libsdl2-mixer-dev libsdl2-net-dev libsdl2-ttf-dev + git gdb valgrind netcat-openbsd procps + +gcc-8_default: + stage: build + script: + - ./tools/ci/jobs/any_compiler.sh --enable-werror + - ./tools/ci/scripts/runtests.sh + <<: *job-push + variables: + LOGFILE: gcc8.log + CC: gcc-8 + CXX: g++-8 + CXXFLAGS: "-Wall -Wextra" + PACKAGES: gcc-8 g++-8 + 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 gdb valgrind netcat-openbsd procps + +gcc-8_sanitize: + stage: build + script: + - ./tools/ci/jobs/gcc8_sanitize.sh + - ./tools/ci/scripts/runtests.sh + <<: *job-push + variables: + PACKAGES: gcc-8 g++-8 + 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 gdb valgrind netcat-openbsd procps + tags: + - docker + +gcc-8_sanitize_sdl2: + stage: build + script: + - ./tools/ci/jobs/gcc8_sanitize.sh --with-sdl2 + - ./tools/ci/scripts/runtests.sh + <<: *job-push + variables: + PACKAGES: gcc-8 g++-8 + make autoconf automake autopoint gettext + libxml2-dev libcurl4-gnutls-dev libpng-dev + libsdl2-gfx-dev libsdl2-image-dev libsdl2-mixer-dev libsdl2-net-dev libsdl2-ttf-dev + git gdb valgrind netcat-openbsd procps + tags: + - docker + +gcc-8_lto: + stage: build + script: + - ./tools/ci/jobs/gcc8_lto.sh + - ./tools/ci/scripts/runtests.sh + <<: *job-push + variables: + PACKAGES: gcc-8 g++-8 + 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 gdb valgrind netcat-openbsd procps + POST_CXXFLAGS: "-Wno-null-dereference" + +gcc-8_lto_i386: + stage: build + script: + - ./tools/ci/jobs/gcc8_lto.sh + - ./tools/ci/scripts/runtests.sh + image: vicamo/debian:sid-i386 + <<: *job-push + variables: + PACKAGES: gcc-8 g++-8 + 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 gdb valgrind netcat-openbsd procps + POST_CXXFLAGS: "-Wno-null-dereference" + tags: + - docker diff --git a/tools/ci/scripts/triggers.sh b/tools/ci/scripts/triggers.sh index 639aa7d9e..3dbf21d97 100755 --- a/tools/ci/scripts/triggers.sh +++ b/tools/ci/scripts/triggers.sh @@ -42,4 +42,6 @@ run "ci_gcc7" run "ci_gcc3" sleep 15s run "ci_clang7" +run "ci_gcc8" +sleep 15s run "ci_site" -- cgit v1.2.3-70-g09d2