BUILD PLATFORM --> CONFIGURATION

This commit is contained in:
Carlos Zamora 2021-06-11 14:47:58 -07:00
parent d4ae5f9a28
commit e3f64b943c

View file

@ -70,7 +70,7 @@ steps:
displayName: 'Check MSIX for common regressions'
# PGO runtime needs its own CRT and it's in the package for convenience.
# That will make this script mad so skip since we're not shipping the PGO Instrumentation one anyway.
condition: and(ne(variables['PGOBuildMode'], 'Instrument'), ne(variables['BuildPlatform'], 'Fuzzing'))
condition: and(ne(variables['PGOBuildMode'], 'Instrument'), ne(variables['BuildConfiguration'], 'Fuzzing'))
inputs:
targetType: inline
script: |
@ -79,7 +79,7 @@ steps:
- task: powershell@2
displayName: 'Source Index PDBs'
condition: and(ne(variables['PGOBuildMode'], 'Instrument'), ne(variables['BuildPlatform'], 'Fuzzing'))
condition: and(ne(variables['PGOBuildMode'], 'Instrument'), ne(variables['BuildConfiguration'], 'Fuzzing'))
inputs:
targetType: filePath
filePath: build\scripts\Index-Pdbs.ps1
@ -133,7 +133,7 @@ steps:
- task: PublishTestResults@2
displayName: 'Upload converted test logs'
condition: and(ne(variables['PGOBuildMode'], 'Instrument'), ne(variables['BuildPlatform'], 'Fuzzing'))
condition: and(ne(variables['PGOBuildMode'], 'Instrument'), ne(variables['BuildConfiguration'], 'Fuzzing'))
inputs:
testResultsFormat: 'xUnit' # Options: JUnit, NUnit, VSTest, xUnit, cTest
testResultsFiles: '**/onBuildMachineResults.xml'