mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-22 04:55:48 +03:00
Remove clang-tidy from .drone.yml.
It is being replaced by GH actions. Signed-off-by: Camila <hello@camila.codes>
This commit is contained in:
parent
f6f650c85c
commit
b1d8390dfe
3 changed files with 7 additions and 59 deletions
45
.clang-tidy
45
.clang-tidy
|
@ -1,45 +0,0 @@
|
||||||
Checks: '-*,
|
|
||||||
bugprone-*,
|
|
||||||
-bugprone-forward-declaration-namespace,
|
|
||||||
cppcoreguidelines-init-variables,
|
|
||||||
misc-*,
|
|
||||||
-misc-non-private-member-variables-in-classes,
|
|
||||||
modernize-avoid-bind,
|
|
||||||
modernize-concat-nested-namespaces,
|
|
||||||
modernize-deprecated-headers,
|
|
||||||
modernize-deprecated-ios-base-aliases,
|
|
||||||
modernize-loop-convert,
|
|
||||||
modernize-make-*,
|
|
||||||
modernize-raw-string-literal,
|
|
||||||
modernize-redundant-void-arg,
|
|
||||||
modernize-replace-*,
|
|
||||||
modernize-return-braced-init-list,
|
|
||||||
modernize-shrink-to-fit,
|
|
||||||
modernize-unary-static-assert,
|
|
||||||
modernize-use-auto,
|
|
||||||
modernize-use-bool-literals,
|
|
||||||
modernize-use-default-member-init,
|
|
||||||
modernize-use-emplace,
|
|
||||||
modernize-use-equals-delete,
|
|
||||||
modernize-use-nodiscard,
|
|
||||||
modernize-use-equals-default,
|
|
||||||
modernize-use-noexcept,
|
|
||||||
modernize-use-override,
|
|
||||||
modernize-use-nullptr,
|
|
||||||
modernize-use-transparent-functors,
|
|
||||||
modernize-use-uncaught-exceptions,
|
|
||||||
modernize-use-using,
|
|
||||||
'
|
|
||||||
WarningsAsErrors: '*'
|
|
||||||
HeaderFilterRegex: '.*'
|
|
||||||
AnalyzeTemporaryDtors: false
|
|
||||||
FormatStyle: none
|
|
||||||
CheckOptions:
|
|
||||||
- key: bugprone-assert-side-effect.AssertMacros
|
|
||||||
value: 'assert;Q_ASSERT'
|
|
||||||
- key: bugprone-dangling-handle.HandleClasses
|
|
||||||
value: 'std::basic_string_view;std::experimental::basic_string_view;QStringView'
|
|
||||||
- key: bugprone-sizeof-expression.WarnOnSizeOfIntegerExpression
|
|
||||||
value: 1
|
|
||||||
- key: modernize-use-default-member-init.UseAssignment
|
|
||||||
value: 1
|
|
19
.drone.yml
19
.drone.yml
|
@ -3,7 +3,7 @@ name: qt-5.15
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: cmake
|
- name: cmake
|
||||||
image: ghcr.io/nextcloud/continuous-integration-client:client-5.15-10
|
image: ghcr.io/nextcloud/continuous-integration-client:client-5.15-11
|
||||||
volumes:
|
volumes:
|
||||||
- name: build
|
- name: build
|
||||||
path: /drone/build
|
path: /drone/build
|
||||||
|
@ -11,7 +11,7 @@ steps:
|
||||||
- cd /drone/build
|
- cd /drone/build
|
||||||
- cmake -G Ninja -DCMAKE_C_COMPILER=gcc-11 -DCMAKE_CXX_COMPILER=g++-11 -DCMAKE_BUILD_TYPE=Debug -DQUICK_COMPILER=ON -DBUILD_UPDATER=ON -DBUILD_TESTING=1 -DECM_ENABLE_SANITIZERS=address -DCMAKE_CXX_FLAGS=-Werror -DOPENSSL_ROOT_DIR=/usr/local/lib64 ../src
|
- cmake -G Ninja -DCMAKE_C_COMPILER=gcc-11 -DCMAKE_CXX_COMPILER=g++-11 -DCMAKE_BUILD_TYPE=Debug -DQUICK_COMPILER=ON -DBUILD_UPDATER=ON -DBUILD_TESTING=1 -DECM_ENABLE_SANITIZERS=address -DCMAKE_CXX_FLAGS=-Werror -DOPENSSL_ROOT_DIR=/usr/local/lib64 ../src
|
||||||
- name: compile
|
- name: compile
|
||||||
image: ghcr.io/nextcloud/continuous-integration-client:client-5.15-10
|
image: ghcr.io/nextcloud/continuous-integration-client:client-5.15-11
|
||||||
volumes:
|
volumes:
|
||||||
- name: build
|
- name: build
|
||||||
path: /drone/build
|
path: /drone/build
|
||||||
|
@ -19,7 +19,7 @@ steps:
|
||||||
- cd /drone/build
|
- cd /drone/build
|
||||||
- ninja
|
- ninja
|
||||||
- name: test
|
- name: test
|
||||||
image: ghcr.io/nextcloud/continuous-integration-client:client-5.15-10
|
image: ghcr.io/nextcloud/continuous-integration-client:client-5.15-11
|
||||||
volumes:
|
volumes:
|
||||||
- name: build
|
- name: build
|
||||||
path: /drone/build
|
path: /drone/build
|
||||||
|
@ -47,7 +47,7 @@ name: qt-5.15-clang
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: cmake
|
- name: cmake
|
||||||
image: ghcr.io/nextcloud/continuous-integration-client:client-5.15-10
|
image: ghcr.io/nextcloud/continuous-integration-client:client-5.15-11
|
||||||
volumes:
|
volumes:
|
||||||
- name: build
|
- name: build
|
||||||
path: /drone/build
|
path: /drone/build
|
||||||
|
@ -55,7 +55,7 @@ steps:
|
||||||
- cd /drone/build
|
- cd /drone/build
|
||||||
- cmake -G Ninja -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DCMAKE_C_COMPILER=clang-14 -DCMAKE_CXX_COMPILER=clang++-14 -DCMAKE_BUILD_TYPE=Debug -DQUICK_COMPILER=ON -DBUILD_UPDATER=ON -DBUILD_TESTING=1 -DECM_ENABLE_SANITIZERS=address -DCMAKE_CXX_FLAGS=-Werror -DOPENSSL_ROOT_DIR=/usr/local/lib64 ../src
|
- cmake -G Ninja -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DCMAKE_C_COMPILER=clang-14 -DCMAKE_CXX_COMPILER=clang++-14 -DCMAKE_BUILD_TYPE=Debug -DQUICK_COMPILER=ON -DBUILD_UPDATER=ON -DBUILD_TESTING=1 -DECM_ENABLE_SANITIZERS=address -DCMAKE_CXX_FLAGS=-Werror -DOPENSSL_ROOT_DIR=/usr/local/lib64 ../src
|
||||||
- name: compile
|
- name: compile
|
||||||
image: ghcr.io/nextcloud/continuous-integration-client:client-5.15-10
|
image: ghcr.io/nextcloud/continuous-integration-client:client-5.15-11
|
||||||
volumes:
|
volumes:
|
||||||
- name: build
|
- name: build
|
||||||
path: /drone/build
|
path: /drone/build
|
||||||
|
@ -63,7 +63,7 @@ steps:
|
||||||
- cd /drone/build
|
- cd /drone/build
|
||||||
- ninja
|
- ninja
|
||||||
- name: test
|
- name: test
|
||||||
image: ghcr.io/nextcloud/continuous-integration-client:client-5.15-10
|
image: ghcr.io/nextcloud/continuous-integration-client:client-5.15-11
|
||||||
volumes:
|
volumes:
|
||||||
- name: build
|
- name: build
|
||||||
path: /drone/build
|
path: /drone/build
|
||||||
|
@ -72,13 +72,6 @@ steps:
|
||||||
- useradd -m -s /bin/bash test
|
- useradd -m -s /bin/bash test
|
||||||
- chown -R test:test .
|
- chown -R test:test .
|
||||||
- su -c 'ASAN_OPTIONS=detect_leaks=0 xvfb-run ctest --output-on-failure' test
|
- su -c 'ASAN_OPTIONS=detect_leaks=0 xvfb-run ctest --output-on-failure' test
|
||||||
- name: clang-tidy
|
|
||||||
image: ghcr.io/nextcloud/continuous-integration-client:client-5.15-10
|
|
||||||
volumes:
|
|
||||||
- name: build
|
|
||||||
path: /drone/build
|
|
||||||
commands:
|
|
||||||
- "! run-clang-tidy-10 -j$(nproc) -p /drone/build -header-filter $PWD -quiet | grep -A 5 ': error:'"
|
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
- name: build
|
- name: build
|
||||||
|
|
2
.github/workflows/sonarcloud.yml
vendored
2
.github/workflows/sonarcloud.yml
vendored
|
@ -9,7 +9,7 @@ jobs:
|
||||||
build:
|
build:
|
||||||
name: Build
|
name: Build
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container: ghcr.io/nextcloud/continuous-integration-client:client-5.15-10
|
container: ghcr.io/nextcloud/continuous-integration-client:client-5.15-11
|
||||||
env:
|
env:
|
||||||
SONAR_SERVER_URL: "https://sonarcloud.io"
|
SONAR_SERVER_URL: "https://sonarcloud.io"
|
||||||
BUILD_WRAPPER_OUT_DIR: build_wrapper_output_directory # Directory where build-wrapper output will be placed
|
BUILD_WRAPPER_OUT_DIR: build_wrapper_output_directory # Directory where build-wrapper output will be placed
|
||||||
|
|
Loading…
Reference in a new issue