Update build definitions for arcade
This commit is contained in:
parent
2bee59a9bc
commit
acf66ec737
1 changed files with 8 additions and 7 deletions
|
@ -8,6 +8,7 @@ phases:
|
|||
parameters:
|
||||
name: ${{ parameters.agentOs }}
|
||||
enableTelemetry: true
|
||||
enableMicrobuild: true
|
||||
publicBuildReasons: PullRequest
|
||||
queue: ${{ parameters.queue }}
|
||||
variables:
|
||||
|
@ -25,6 +26,7 @@ phases:
|
|||
steps:
|
||||
- ${{ if eq(parameters.agentOs, 'Windows_NT') }}:
|
||||
- script: build.cmd
|
||||
-test -sign -pack -publish
|
||||
-Configuration $(BuildConfig)
|
||||
-Architecture $(BuildArchitecture)
|
||||
displayName: Build
|
||||
|
@ -34,7 +36,7 @@ phases:
|
|||
|
||||
- ${{ if eq(parameters.agentOs, 'Linux') }}:
|
||||
- script: ./build.sh
|
||||
--skip-prereqs
|
||||
--test --pack --publish
|
||||
--configuration $(BuildConfig)
|
||||
$(DockerParameter)
|
||||
--architecture $(BuildArchitecture)
|
||||
|
@ -46,15 +48,15 @@ phases:
|
|||
|
||||
- ${{ if eq(parameters.agentOs, 'Darwin') }}:
|
||||
- script: ./build.sh
|
||||
--skip-prereqs
|
||||
--test --pack --publish
|
||||
--configuration $(BuildConfig)
|
||||
displayName: Build
|
||||
|
||||
- task: PublishTestResults@1
|
||||
displayName: Publish Test Results
|
||||
inputs:
|
||||
testRunner: VSTest
|
||||
testResultsFiles: '**/*.trx'
|
||||
testRunner: XUnit
|
||||
testResultsFiles: 'artifacts/TestResults/$(_BuildConfig)/*.xml'
|
||||
testRunTitle: 'Unit Test Results'
|
||||
platform: '$(BuildPlatform)'
|
||||
configuration: '$(_BuildConfig)'
|
||||
|
@ -65,9 +67,8 @@ phases:
|
|||
inputs:
|
||||
SourceFolder: '$(Build.SourcesDirectory)'
|
||||
Contents: |
|
||||
msbuild.log
|
||||
msbuild.mainbuild.binlog
|
||||
msbuild.generatepropsfile.binlog
|
||||
artifacts/log/$(_BuildConfig)/**/*
|
||||
artifacts/TestResults/$(_BuildConfig)/**/*
|
||||
TargetFolder: '$(Build.ArtifactStagingDirectory)'
|
||||
continueOnError: true
|
||||
condition: always()
|
||||
|
|
Loading…
Reference in a new issue