Travis-ci macOS with staged qwt build

[skip AppVeyor]
To avoid the cancelation due to 50' limit
[publish binaries]
This commit is contained in:
Alejandro Martinez
2023-09-24 20:43:53 -03:00
parent e46a1d4a18
commit 0d382dc3f2

View File

@@ -4,7 +4,10 @@ set -ev
if [ -z "$(ls -A src/GoldenCheetah.app)" ]; then
CC=clang CXX=clang++ /usr/local/opt/qt5/bin/qmake -makefile -recursive QMAKE_CXXFLAGS_WARN_ON+="-Wno-unused-private-field -Wno-c++11-narrowing -Wno-deprecated-declarations -Wno-deprecated-register -Wno-nullability-completeness -Wno-sign-compare -Wno-inconsistent-missing-override" QMAKE_CFLAGS_WARN_ON+="-Wno-deprecated-declarations -Wno-sign-compare"
CC=clang CXX=clang++ make qmake_all
CC=clang CXX=clang++ make -j4 sub-qwt --silent
if [ -z "$(ls -A qwt/lib)" ]; then
CC=clang CXX=clang++ make -j4 sub-qwt
exit # build qwt and store in the cache on the first run
fi
CC=clang CXX=clang++ make -j4 sub-src
fi
exit