From 4e37004f15759b4ad19d98f5a2a2757cad89f814 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 30 May 2020 09:08:40 +0300 Subject: Add ci job for any compiler tests --- tools/ci/jobs/any_compiler_tests.sh | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100755 tools/ci/jobs/any_compiler_tests.sh (limited to 'tools/ci') diff --git a/tools/ci/jobs/any_compiler_tests.sh b/tools/ci/jobs/any_compiler_tests.sh new file mode 100755 index 000000000..fb5feac48 --- /dev/null +++ b/tools/ci/jobs/any_compiler_tests.sh @@ -0,0 +1,23 @@ +#!/bin/bash + +export LOGFILE=tests.log + +if [ "$NEWCC" != "" ]; then + export CC="$NEWCC" +fi +if [ "$NEWCXX" != "" ]; then + export CXX="$NEWCXX" +fi + +source ./tools/ci/scripts/init.sh + +export CXXFLAGS="$CXXFLAGS $POST_CXXFLAGS" + +do_init +run_configure --enable-unittests=yes $* +export SDL_VIDEODRIVER=dummy +run_make_check + +source ./tools/ci/scripts/exit.sh + +exit 0 -- cgit v1.2.3-70-g09d2