mirror of
https://github.com/actions/runner.git
synced 2025-12-15 22:47:01 +00:00
33 lines
765 B
YAML
33 lines
765 B
YAML
parameters:
|
|
targetRuntime: ''
|
|
|
|
steps:
|
|
|
|
# Build agent layout
|
|
- script: dev.cmd layout Release ${{ parameters.targetRuntime }}
|
|
workingDirectory: src
|
|
displayName: Build & Layout Release ${{ parameters.targetRuntime }}
|
|
|
|
# Run test
|
|
- script: dev.cmd test
|
|
workingDirectory: src
|
|
displayName: Test
|
|
|
|
# # Publish test results
|
|
# - task: PublishTestResults@2
|
|
# displayName: Publish Test Results **/*.trx
|
|
# condition: always()
|
|
# inputs:
|
|
# testRunner: VSTest
|
|
# testResultsFiles: '**/*.trx'
|
|
# testRunTitle: 'Agent Tests'
|
|
|
|
# # Upload test log
|
|
# - task: PublishBuildArtifacts@1
|
|
# displayName: Publish Test logs
|
|
# condition: always()
|
|
# inputs:
|
|
# pathToPublish: src/Test/TestLogs
|
|
# artifactName: $(System.JobId)
|
|
# artifactType: container
|