diff options
author | aqua <aqua@iserlohn-fortress.net> | 2022-09-05 16:17:07 +0300 |
---|---|---|
committer | aqua <aqua@iserlohn-fortress.net> | 2022-09-05 20:06:56 +0300 |
commit | dafb286101e62802f036df552a91abd52289f75e (patch) | |
tree | f7047d311df6d2bfe0a0f0e14ca9013f6c5a8330 | |
parent | Add scripts/qrc_lint.py (diff) | |
download | rekonq-dafb286101e62802f036df552a91abd52289f75e.tar.xz |
Add ccache to debug build preset
-rw-r--r-- | CMakePresets.json | 1 | ||||
-rw-r--r-- | INSTALL.md | 3 | ||||
-rw-r--r-- | bitbucket-pipelines.yml | 40 |
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" @@ -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 |