[build] Do not run clang-tidy on the legacy workflow

Already running on the new build.
This commit is contained in:
Thiago Marcos P. Santos
2019-09-14 23:10:54 +03:00
parent f6bb784439
commit 5d8dbefdb1

View File

@@ -139,10 +139,6 @@ workflows:
# - {build type} is typically "debug" or "release".
#
- nitpick
- clang-tidy:
filters:
branches:
ignore: master
- android-debug-arm-v7-buck
- android-arm-template:
name: android-debug-arm-v8
@@ -857,29 +853,6 @@ jobs:
command: scripts/nitpick/generated-code.js android
when: always
# ------------------------------------------------------------------------------
clang-tidy:
docker:
- image: mbgl/linux-clang-7:a5a3c52107
working_directory: /src
environment:
LIBSYSCONFCPUS: 4
JOBS: 4
BUILDTYPE: Debug
steps:
- install-dependencies: { ccache: false }
- run:
name: Fetch 'origin/master' branch
command: git fetch origin master:refs/remotes/origin/master
- run:
name: Generate compilation database
command: make compdb
- run:
name: Run Clang checks
command: make check TARGET_BRANCH=${CIRCLE_TARGET_BRANCH:master}
no_output_timeout: 20m
- save-dependencies: { ccache: false }
# ------------------------------------------------------------------------------
android-arm-template:
parameters: