From 5230e2a12ddbed0e27b107d7174d08e038f3bc1f Mon Sep 17 00:00:00 2001 From: Alexander Bokovoy Date: Fri, 17 May 2019 15:40:03 +0300 Subject: [PATCH] Azure Pipelines: run fast linter in case of a pull request build Reviewed-By: Christian Heimes --- ipatests/azure/azure-pipelines.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ipatests/azure/azure-pipelines.yml b/ipatests/azure/azure-pipelines.yml index 1de874319..e057c720a 100644 --- a/ipatests/azure/azure-pipelines.yml +++ b/ipatests/azure/azure-pipelines.yml @@ -19,6 +19,11 @@ jobs: echo "Running autoconf generator" ./autogen.sh displayName: Configure the project + - script: | + git update-ref refs/heads/$(System.PullRequest.TargetBranch) origin/$(System.PullRequest.TargetBranch) + make V=0 "GIT_BRANCH=$(System.PullRequest.TargetBranch)" fastlint + displayName: Quick code style check + condition: eq(variables['Build.Reason'], 'PullRequest') - script: | echo "Running make target 'rpms'" make V=0 rpms LOG_COMPILE='gdb -return-child-result -ex run -ex "thread apply all bt" -ex "quit" --args'