summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-05-19 18:49:11 +0300
committerAndrei Karas <akaras@inbox.ru>2017-05-19 19:12:07 +0300
commit9dc3d09dd336f46ce988a41eeaed4c7f229d25cc (patch)
treea0d701618addeb08bac36aa6e20b3c44757d71b7 /tools
parent886794b8a1ff563f9d5c9952935a9b330b652a14 (diff)
downloadmanaverse-9dc3d09dd336f46ce988a41eeaed4c7f229d25cc.tar.gz
manaverse-9dc3d09dd336f46ce988a41eeaed4c7f229d25cc.tar.bz2
manaverse-9dc3d09dd336f46ce988a41eeaed4c7f229d25cc.tar.xz
manaverse-9dc3d09dd336f46ce988a41eeaed4c7f229d25cc.zip
Add gcc 5 and gcc 6 builds with only -Wall -Wextra flags.
Diffstat (limited to 'tools')
-rwxr-xr-xtools/ci/jobs/any_compiler.sh18
1 files changed, 18 insertions, 0 deletions
diff --git a/tools/ci/jobs/any_compiler.sh b/tools/ci/jobs/any_compiler.sh
new file mode 100755
index 000000000..d3e9c5082
--- /dev/null
+++ b/tools/ci/jobs/any_compiler.sh
@@ -0,0 +1,18 @@
+#!/bin/bash
+
+if [ "$NEWCC" != "" ]; then
+ export CC="$NEWCC"
+fi
+if [ "$NEWCXX" != "" ]; then
+ export CXX="$NEWCXX"
+fi
+
+source ./tools/ci/scripts/init.sh
+
+do_init
+run_configure $*
+run_make
+
+source ./tools/ci/scripts/exit.sh
+
+exit 0