summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraqua <aqua@iserlohn-fortress.net>2022-09-05 16:17:07 +0300
committeraqua <aqua@iserlohn-fortress.net>2022-09-05 20:06:56 +0300
commitdafb286101e62802f036df552a91abd52289f75e (patch)
treef7047d311df6d2bfe0a0f0e14ca9013f6c5a8330
parentAdd scripts/qrc_lint.py (diff)
downloadrekonq-dafb286101e62802f036df552a91abd52289f75e.tar.xz
Add ccache to debug build preset
-rw-r--r--CMakePresets.json1
-rw-r--r--INSTALL.md3
-rw-r--r--bitbucket-pipelines.yml40
3 files changed, 22 insertions, 22 deletions
diff --git a/CMakePresets.json b/CMakePresets.json
index 77af2829..de1ec900 100644
--- a/CMakePresets.json
+++ b/CMakePresets.json
@@ -13,6 +13,7 @@
"CMAKE_CXX_FLAGS_DEBUG": "-g -Og",
"CMAKE_CXX_STANDARD": "20",
"CMAKE_CXX_STANDARD_REQUIRED": "YES",
+ "CMAKE_CXX_COMPILER_LAUNCHER": "ccache",
"CMAKE_CXX_CLANG_TIDY": "clang-tidy",
"MEMORYCHECK_COMMAND": "valgrind",
"MEMORYCHECK_COMMAND_OPTIONS": "--leak-check=full --show-leak-kinds=all --gen-suppressions=all"
diff --git a/INSTALL.md b/INSTALL.md
index ca401f44..d6fda847 100644
--- a/INSTALL.md
+++ b/INSTALL.md
@@ -15,9 +15,10 @@ To build, rekonq needs at least:
``Debug`` builds have the following additional dependencies:
- gtest and gmock
- gcov, lcov
-- clang-tidy
- python-lxml for some of the scripts
+Debug build preset also uses ccache and clang-tidy.
+
## Building rekonq
diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml
index 1c2cf424..81f0bdde 100644
--- a/bitbucket-pipelines.yml
+++ b/bitbucket-pipelines.yml
@@ -21,24 +21,22 @@ pipelines:
- cmake --preset debug -GNinja
- ninja -C cmake-build-debug rekonq_check_license
- git ls-files | grep '\.qrc$' | xargs -n1 ./scripts/qrc_lint.py
- - step:
- name: Debug Build Test
- runs-on:
- - 'self.hosted'
- - 'linux.shell'
- script:
- - git submodule update --init
- - cmake --preset debug -GNinja
- - cmake --build --preset debug
- - ctest --preset debug --output-junit test-results/all.xml
- custom:
- FullBuildTest:
- - step:
- name: Release Build
- runs-on:
- - 'self.hosted'
- - 'linux.shell'
- script:
- - git submodule update --init
- - cmake --preset release -GNinja
- - cmake --build --preset release
+ - step:
+ name: Debug Build and Test
+ runs-on:
+ - 'self.hosted'
+ - 'linux.shell'
+ script:
+ - git submodule update --init
+ - cmake --preset debug -GNinja
+ - cmake --build --preset debug
+ - ctest --preset debug --output-junit test-results/all.xml
+ - step:
+ name: Release Build
+ runs-on:
+ - 'self.hosted'
+ - 'linux.shell'
+ script:
+ - git submodule update --init
+ - cmake --preset release -GNinja
+ - cmake --build --preset release