diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-06-18 21:47:41 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-06-18 21:47:41 +0300 |
commit | c17e6c9f3d51269e2e9e9088de33e5f53f24e46e (patch) | |
tree | 200032f2be85d2350bd72aac1146f32fb2519654 | |
parent | 9bb1986d4403a99ef0c4210d6042753166d1f283 (diff) | |
download | plus-c17e6c9f3d51269e2e9e9088de33e5f53f24e46e.tar.gz plus-c17e6c9f3d51269e2e9e9088de33e5f53f24e46e.tar.bz2 plus-c17e6c9f3d51269e2e9e9088de33e5f53f24e46e.tar.xz plus-c17e6c9f3d51269e2e9e9088de33e5f53f24e46e.zip |
Add gcc-8 build in ci_gcc8 branch.
-rw-r--r-- | tools/ci/branches/ci_gcc8/.gitlab-ci.yml | 122 | ||||
-rwxr-xr-x | tools/ci/scripts/triggers.sh | 2 |
2 files changed, 124 insertions, 0 deletions
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" |