Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Test copy earlier
  • Loading branch information
pjcollins committed Dec 20, 2023
commit 9b6ea5b64262e4d03b27690fca1cc79db396b25a
11 changes: 5 additions & 6 deletions build-tools/automation/azure-pipelines-nightly.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,16 +54,11 @@ stages:
- checkout: self
submodules: recursive

- template: yaml-templates/commercial-build.yaml
parameters:
makeMSBuildArgs: /p:EnableNativeAnalyzers=true

### Copy .dll and .pdb files for APIScan
- task: CopyFiles@2
displayName: Collect Files for APIScan
inputs:
Contents: |
$(System.DefaultWorkingDirectory)/xamarin-android/bin/Release/dotnet/packs/Microsoft.Android*/**/?(*.dll|*.pdb)
Contents: $(System.DefaultWorkingDirectory)/xamarin-android/build-*/**/?(*.props|*.targets)
TargetFolder: $(Build.StagingDirectory)/apiscan
OverWrite: true
flattenFolders: true
Expand All @@ -73,6 +68,10 @@ stages:
displayName: List Files for APIScan
condition: and(succeeded(), eq(variables['ApiScan.Enabled'], 'true'), eq(variables['Build.SourceBranch'], 'refs/heads/dev/pjc/nightly-apiscan'))

- template: yaml-templates/commercial-build.yaml
parameters:
makeMSBuildArgs: /p:EnableNativeAnalyzers=true

### Run latest version of APIScan listed at https://www.1eswiki.com/wiki/APIScan_Build_Task
- task: APIScan@2
displayName: Run APIScan
Expand Down