summaryrefslogtreecommitdiff
path: root/bitbucket-pipelines.yml
diff options
context:
space:
mode:
authoraqua <aqua@iserlohn-fortress.net>2022-08-25 21:30:08 +0300
committeraqua <aqua@iserlohn-fortress.net>2022-08-27 08:52:19 +0300
commit8f992bb6ff8a1995ed757edf39578c986ef700fc (patch)
treea45ce632366fb8daefcb8847d16d762e1219550b /bitbucket-pipelines.yml
parentAdd scripts/check_license.py (diff)
downloadrekonq-8f992bb6ff8a1995ed757edf39578c986ef700fc.tar.xz
Add CMakePresets.json
- add clang-tidy to debug configuration - add valgrind target: test_memcheck - add coverage target: test_coverage - bitbucket pipelines: store test results in junit format for test reporting
Diffstat (limited to 'bitbucket-pipelines.yml')
-rw-r--r--bitbucket-pipelines.yml21
1 files changed, 15 insertions, 6 deletions
diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml
index 38a7b44d..61beefd2 100644
--- a/bitbucket-pipelines.yml
+++ b/bitbucket-pipelines.yml
@@ -16,17 +16,26 @@ pipelines:
- 'linux.shell'
script:
- git submodule update --init
- - cmake -B build -GNinja
- - ninja -C build rekonq_check_license
+ - cmake --preset debug -GNinja
+ - ninja -C cmake-build-debug rekonq_check_license
+ - 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: Debug Build
+ name: Release Build
runs-on:
- 'self.hosted'
- 'linux.shell'
script:
- git submodule update --init
- - cmake -B build -DCMAKE_BUILD_TYPE=Debug -DTESTING=ON -GNinja
- - ninja -C build
- - ninja -C build test
+ - cmake --preset release -GNinja
+ - cmake --build --preset release