Update build definitions for arcade

This commit is contained in:
Daniel Plaisted 2018-11-06 23:40:20 -08:00
parent 2bee59a9bc
commit acf66ec737

View file

@ -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()