Azure Pipelines: run fast linter in case of a pull request build

Reviewed-By: Christian Heimes <cheimes@redhat.com>
This commit is contained in:
Alexander Bokovoy 2019-05-17 15:40:03 +03:00
parent c8ef093e56
commit 5230e2a12d

View File

@ -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'