diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-05-19 18:49:11 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-05-19 19:12:07 +0300 |
commit | 9dc3d09dd336f46ce988a41eeaed4c7f229d25cc (patch) | |
tree | a0d701618addeb08bac36aa6e20b3c44757d71b7 /tools | |
parent | 886794b8a1ff563f9d5c9952935a9b330b652a14 (diff) | |
download | manaverse-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-x | tools/ci/jobs/any_compiler.sh | 18 |
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 |