summaryrefslogtreecommitdiff
path: root/tools/ci
diff options
context:
space:
mode:
Diffstat (limited to 'tools/ci')
-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