summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-05-05 16:02:16 +0300
committerAndrei Karas <akaras@inbox.ru>2016-05-05 16:02:16 +0300
commit6d496674edf82360168fba1dae4327a893b7e743 (patch)
treec3699f274619c9680752df5bcf7d709176f73518
parent10fc389814be7d0c6f4af3842046bd200f57212d (diff)
downloadmanaplus-6d496674edf82360168fba1dae4327a893b7e743.tar.gz
manaplus-6d496674edf82360168fba1dae4327a893b7e743.tar.bz2
manaplus-6d496674edf82360168fba1dae4327a893b7e743.tar.xz
manaplus-6d496674edf82360168fba1dae4327a893b7e743.zip
Add ci job with gcc6 and disabled asserts.
-rw-r--r--.gitlab-ci.yml8
-rwxr-xr-xtools/ci/jobs/gcc6.sh2
2 files changed, 9 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 3a7d4fdcb..510a03d9a 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -420,6 +420,14 @@ clang-3.9_sdl2:
tags:
- docker
+gcc-6_all:
+ stage: build
+ script:
+ - ./tools/ci/jobs/gcc6.sh --disable-asserts
+ image: debian:unstable
+ tags:
+ - docker
+
# tests
gcc-5_tests:
diff --git a/tools/ci/jobs/gcc6.sh b/tools/ci/jobs/gcc6.sh
index 072639c63..46d3743ab 100755
--- a/tools/ci/jobs/gcc6.sh
+++ b/tools/ci/jobs/gcc6.sh
@@ -18,7 +18,7 @@ export CXXFLAGS="-pedantic -ggdb3 -O2 -pipe -Wstrict-aliasing=2 \
source ./tools/ci/flags/gcc6.sh
do_init
-run_configure --enable-werror
+run_configure --enable-werror $*
run_make
source ./tools/ci/scripts/exit.sh