Created
April 23, 2020 12:58
-
-
Save marek-safar/67c1ddfb2626180fd2a8dc59ba9d373e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/eng/azure-pipelines.yml b/eng/azure-pipelines.yml | |
index 3136b3a..e12cb4a 100644 | |
--- a/eng/azure-pipelines.yml | |
+++ b/eng/azure-pipelines.yml | |
@@ -119,6 +119,26 @@ stages: | |
MSBUILDENSURESTDOUTFORTASKPROCESSES: 1 | |
displayName: Build illink.sln $(_BuildConfig) | |
+ - ${{ if eq(variables.officialBuild, 'false') }}: | |
+ - job: lint | |
+ pool: | |
+ name: Hosted Ubuntu 1604 | |
+ steps: | |
+ - checkout: self | |
+ submodules: true | |
+ - task: DotNetCoreCLI@2 | |
+ displayName: 'Install dotnet format' | |
+ inputs: | |
+ command: 'custom' | |
+ custom: 'tool' | |
+ arguments: 'update -g dotnet-format' | |
+ - task: DotNetCoreCLI@2 | |
+ displayName: 'Lint ILLinker' | |
+ inputs: | |
+ command: 'custom' | |
+ custom: 'format' | |
+ arguments: '--dry-run --check --verbosity diagnostic' | |
+ | |
- ${{ if eq(variables.officialBuild, 'false') }}: | |
- job: Linux_Mono | |
pool: | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment