mirror of
https://github.com/actions/runner.git
synced 2025-12-31 22:37:22 +08:00
34 lines
890 B
YAML
34 lines
890 B
YAML
parameters:
|
|
targetRuntime: ''
|
|
|
|
steps:
|
|
|
|
# Build agent layout
|
|
- script: ./dev.sh layout Release ${{ parameters.targetRuntime }}
|
|
workingDirectory: src
|
|
displayName: Build & Layout Release ${{ parameters.targetRuntime }}
|
|
|
|
# Run test
|
|
- script: ./dev.sh test
|
|
workingDirectory: src
|
|
displayName: Test
|
|
condition: and(ne('${{ parameters.targetRuntime }}', 'linux-arm64'), ne('${{ parameters.targetRuntime }}', 'linux-arm'))
|
|
|
|
# # 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
|