Skip to content

Commit

Permalink
Remove clang-tidy from .drone.yml.
Browse files Browse the repository at this point in the history
It is being replaced by GH actions.

Signed-off-by: Camila <hello@camila.codes>
  • Loading branch information
Camila committed Oct 4, 2022
1 parent 9a0d5f8 commit 5def959
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 59 deletions.
45 changes: 0 additions & 45 deletions .clang-tidy

This file was deleted.

19 changes: 6 additions & 13 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,23 @@ name: qt-5.15

steps:
- 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:
- name: build
path: /drone/build
commands:
- 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
- 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:
- name: build
path: /drone/build
commands:
- cd /drone/build
- ninja
- 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:
- name: build
path: /drone/build
Expand Down Expand Up @@ -47,23 +47,23 @@ name: qt-5.15-clang

steps:
- 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:
- name: build
path: /drone/build
commands:
- 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
- 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:
- name: build
path: /drone/build
commands:
- cd /drone/build
- ninja
- 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:
- name: build
path: /drone/build
Expand All @@ -72,13 +72,6 @@ steps:
- useradd -m -s /bin/bash test
- chown -R test: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:
- name: build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sonarcloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
build:
name: Build
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:
SONAR_SERVER_URL: "https://sonarcloud.io"
BUILD_WRAPPER_OUT_DIR: build_wrapper_output_directory # Directory where build-wrapper output will be placed
Expand Down

0 comments on commit 5def959

Please sign in to comment.