aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorRichard Weickelt <richard@weickelt.de>2019-11-22 07:12:12 +0100
committerRichard Weickelt <richard@weickelt.de>2019-11-25 10:26:21 +0000
commit4b5722dff41da5fd23ebddccd3854220f623ac22 (patch)
tree5cdb37203c37e0b821f0111f53850c2a87bfabf6 /scripts
parent866747db4d092281530296fc7be708786c26c49b (diff)
Enable ccache on Linux/Docker
This speeds up CI builds a lot. Change-Id: I53962e1683b4dd923c3a7d254db24164a4e623a6 Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/build-qbs-with-qbs.sh3
-rwxr-xr-xscripts/build-qbs-with-qmake.sh3
2 files changed, 4 insertions, 2 deletions
diff --git a/scripts/build-qbs-with-qbs.sh b/scripts/build-qbs-with-qbs.sh
index 229f5d691..b4f0643c5 100755
--- a/scripts/build-qbs-with-qbs.sh
+++ b/scripts/build-qbs-with-qbs.sh
@@ -55,7 +55,8 @@ BUILD_OPTIONS="\
modules.qbsbuildconfig.enableUnitTests:true \
modules.cpp.treatWarningsAsErrors:true \
project.withExamples:true \
- ${BUILD_OPTIONS}
+ ${BUILD_OPTIONS} \
+ config:release \
"
#
diff --git a/scripts/build-qbs-with-qmake.sh b/scripts/build-qbs-with-qmake.sh
index f06501e30..1e97d7695 100755
--- a/scripts/build-qbs-with-qmake.sh
+++ b/scripts/build-qbs-with-qmake.sh
@@ -50,7 +50,8 @@ export QBS_AUTOTEST_SETTINGS_DIR="${QBS_AUTOTEST_SETTINGS_DIR:-/tmp/qbs-settings
#
qmake -r qbs.pro \
CONFIG+=qbs_enable_unit_tests \
- CONFIG+=qbs_enable_project_file_updates
+ CONFIG+=qbs_enable_project_file_updates \
+ ${BUILD_OPTIONS}
make -j $(nproc --all)
make docs