| # These are the steps used for building on machines with PowerShell. |
| - powershell: . '$(Build.SourcesDirectory)\ci\build.ps1' |
| workingDirectory: '$(Build.BinariesDirectory)' |
| env: ${{ parameters.environmentVariables }} |
| - powershell: . '$(Build.SourcesDirectory)\ci\test.ps1' |
| workingDirectory: '$(Build.BinariesDirectory)' |
| env: ${{ parameters.environmentVariables }} |
| - task: PublishTestResults@2 |
| displayName: Publish Test Results |
| condition: succeededOrFailed() |
| testResultsFiles: 'results_*.xml' |
| searchFolder: '$(Build.BinariesDirectory)' |