diff --git a/azure-pipelines.yml b/azure-pipelines.yml index b0032a383..7cf927fa3 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -2,6 +2,17 @@ trigger: - master jobs: +- job: Sourcery + pool: + vmImage: 'macOS-12' + steps: + - script: brew install sourcery + displayName: Install Sourcery + - script: make sourcery + displayName: Generate sources + - script: "! git diff -U0 | grep '^[-+][^-+]' | grep --invert-match '// Generated using Sourcery'" + displayName: Check changed files ignoring Sourcery's version + - job: linux pool: vmImage: 'Ubuntu 18.04'