mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
Merge pull request #6180
Maxim Biro (2): fix(build): cache debug deps during 2nd stage refactor(build): remove specific string tests
This commit is contained in:
commit
def038a897
|
@ -297,7 +297,7 @@ then
|
|||
# which happens when building Qt
|
||||
CONFIGURE_EXTRA=""
|
||||
set +u
|
||||
if [[ "$TRAVIS_CI_STAGE" == "stage1" ]]
|
||||
if [[ -n "$TRAVIS_CI_STAGE" ]]
|
||||
then
|
||||
CONFIGURE_EXTRA="-silent"
|
||||
fi
|
||||
|
@ -974,8 +974,10 @@ else
|
|||
fi
|
||||
|
||||
|
||||
if [[ "$BUILD_TYPE" == "debug" ]]
|
||||
set +u
|
||||
if [[ -n "$TRAVIS_CI_STAGE" ]] || [[ "$BUILD_TYPE" == "debug" ]]
|
||||
then
|
||||
set -u
|
||||
|
||||
# mingw-w64-debug-scripts
|
||||
|
||||
|
@ -1071,7 +1073,9 @@ then
|
|||
echo "Using cached build of GDB `cat $GDB_PREFIX_DIR/done`"
|
||||
fi
|
||||
|
||||
set +u
|
||||
fi
|
||||
set -u
|
||||
|
||||
|
||||
# NSIS ShellExecAsUser plugin
|
||||
|
@ -1182,8 +1186,9 @@ echo "
|
|||
SET(CMAKE_FIND_ROOT_PATH /usr/$ARCH-w64-mingw32 $CMAKE_FIND_ROOT_PATH)
|
||||
" > toolchain.cmake
|
||||
|
||||
# Run tests using Wine
|
||||
set +u
|
||||
if [[ "$TRAVIS_CI_STAGE" == "stage3" ]]
|
||||
if [[ -n "$TRAVIS_CI_STAGE" ]]
|
||||
then
|
||||
echo "SET(TEST_CROSSCOMPILING_EMULATOR /usr/bin/wine)" >> toolchain.cmake
|
||||
fi
|
||||
|
@ -1279,9 +1284,9 @@ do
|
|||
done < /tmp/$ARCH-qtox-dll-find
|
||||
|
||||
|
||||
# Run tests
|
||||
# Run tests (only on Travis)
|
||||
set +u
|
||||
if [[ "$TRAVIS_CI_STAGE" == "stage3" ]]
|
||||
if [[ -n "$TRAVIS_CI_STAGE" ]]
|
||||
then
|
||||
# Add libgcc_s_*.dll, libwinpthread-1.dll, QtTest.dll, etc. into PATH env var of wine
|
||||
export WINEPATH=`cd $QTOX_PREFIX_DIR ; winepath -w $(pwd)`\;`winepath -w $QT_PREFIX_DIR/bin/`
|
||||
|
|
Loading…
Reference in New Issue
Block a user