From: Tobias Brunner Date: Tue, 13 Nov 2018 17:59:38 +0000 (+0100) Subject: travis: Use ccache for MinGW builds X-Git-Tag: 5.7.2dr4~17^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8a4f110243e61c001611095227b1260bd81f7d39;p=thirdparty%2Fstrongswan.git travis: Use ccache for MinGW builds --- diff --git a/scripts/test.sh b/scripts/test.sh index 893dcb6499..1998f21787 100755 --- a/scripts/test.sh +++ b/scripts/test.sh @@ -134,6 +134,7 @@ win*) # no make check for Windows binaries unless we run on a windows host if test "$APPVEYOR" != "True"; then TARGET= + CCACHE=ccache else CONFIG="$CONFIG --enable-openssl" CFLAGS="$CFLAGS -I/c/OpenSSL-$TEST/include" @@ -146,12 +147,12 @@ win*) win64) CONFIG="--host=x86_64-w64-mingw32 $CONFIG --enable-dbghelp-backtraces" DEPS="gcc-mingw-w64-x86-64 binutils-mingw-w64-x86-64 mingw-w64-x86-64-dev $DEPS" - CC="x86_64-w64-mingw32-gcc" + CC="$CCACHE x86_64-w64-mingw32-gcc" ;; win32) CONFIG="--host=i686-w64-mingw32 $CONFIG" DEPS="gcc-mingw-w64-i686 binutils-mingw-w64-i686 mingw-w64-i686-dev $DEPS" - CC="i686-w64-mingw32-gcc" + CC="$CCACHE i686-w64-mingw32-gcc" ;; esac ;;