diff options
author | Richard Weickelt <richard@weickelt.de> | 2020-05-08 09:09:36 +0200 |
---|---|---|
committer | Richard Weickelt <richard@weickelt.de> | 2020-05-20 16:41:37 +0000 |
commit | a43be24e46a2f64c5f94165cfe393038a2f8065a (patch) | |
tree | c76113d8e0e3a98d0f40d466673b78d7f034f33a | |
parent | 92f289b66c19526046cddd4a4e7f6b8710401c1a (diff) |
Travis: Generate debug information on macOS and Linux only
Generating debug information disables clcache on Windows and results in
a 10 minutes longer build time.
Change-Id: Ibd13c3017c60d09074ab22b1933acd9a331bd61e
Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
-rw-r--r-- | .travis.yml | 4 | ||||
-rwxr-xr-x | scripts/build-qbs-with-qbs.sh | 1 |
2 files changed, 2 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml index 8e9a46927..628700ecf 100644 --- a/.travis.yml +++ b/.travis.yml @@ -28,7 +28,7 @@ jobs: stage: Build Qbs and and run autotests name: With Qbs on Ubuntu bionic (linux_gcc64) env: - BUILD_OPTIONS=modules.cpp.compilerWrapper:ccache + BUILD_OPTIONS="modules.cpp.compilerWrapper:ccache modules.qbs.debugInformation:true" services: - docker before_script: @@ -92,7 +92,7 @@ jobs: env: # Address sanitizer slows autotests down too much. # We would hit the maximum build time on Travis. - BUILD_OPTIONS="modules.qbsbuildconfig.enableAddressSanitizer:false modules.cpp.compilerWrapper:ccache" + BUILD_OPTIONS="modules.qbsbuildconfig.enableAddressSanitizer:false modules.cpp.compilerWrapper:ccache modules.qbs.debugInformation:true" QMAKE_PATH=${QT_INSTALL_DIR}/${QT_VERSION}/clang_64/bin/qmake PATH="${QT_INSTALL_DIR}/Qt Creator.app/Contents/MacOS:${PATH}" QBS_BUILD_PROFILE=qt diff --git a/scripts/build-qbs-with-qbs.sh b/scripts/build-qbs-with-qbs.sh index d84202627..91a35f41f 100755 --- a/scripts/build-qbs-with-qbs.sh +++ b/scripts/build-qbs-with-qbs.sh @@ -63,7 +63,6 @@ BUILD_OPTIONS="\ modules.qbsbuildconfig.enableUnitTests:true \ modules.cpp.treatWarningsAsErrors:true \ modules.cpp.separateDebugInformation:true \ - modules.qbs.debugInformation:true \ project.withExamples:true \ ${BUILD_OPTIONS} \ config:release \ |