Skip to content

Instantly share code, notes, and snippets.

@marek-safar
Created April 23, 2020 12:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marek-safar/67c1ddfb2626180fd2a8dc59ba9d373e to your computer and use it in GitHub Desktop.
Save marek-safar/67c1ddfb2626180fd2a8dc59ba9d373e to your computer and use it in GitHub Desktop.
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