Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validate WinUI cake scripts inside CI #1107

Merged
merged 4 commits into from
May 27, 2021
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
70 changes: 34 additions & 36 deletions eng/pipelines/handlers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,42 +122,40 @@ stages:
steps:
- template: common/build-windows.yml

# - stage: windows_cake_validation
# displayName: Windows Cake Validation
# dependsOn: []
# jobs:
# - ${{ each BuildCondition in parameters.BuildConfigurations }}:
# - job: win_hosted_${{ BuildCondition }}
# workspace:
# clean: all
# displayName: Build Windows Phase (${{ BuildCondition }})
# condition: or(
# ${{ parameters.BuildEverything }},
# ne(variables['Build.Reason'], 'PullRequest'),
# eq('${{ BuildCondition }}', 'Release'))
# timeoutInMinutes: 60
# pool:
# name: $(vs2019VmPool)
# vmImage: $(vs2019VmImage)
# demands: [ msbuild ]
# steps:
# - powershell: |
# & dotnet cake --target=dotnet
# $env:PATH = (Join-Path '$(System.DefaultWorkingDirectory)' 'bin/dotnet') + [IO.Path]::PathSeparator + $env:PATH
# & dotnet cake --target=VS-WINUI-CI --configuration=${{ BuildCondition }}
# - task: CopyFiles@2
# displayName: 'Copy Bin Log Files'
# condition: always()
# inputs:
# Contents: |
# **/*.binlog
# TargetFolder: $(build.artifactstagingdirectory)
# flattenFolders: true
# - task: PublishBuildArtifacts@1
# condition: always()
# displayName: publish artifacts
# inputs:
# ArtifactName: win_build_cake
- stage: windows_cake_validation
displayName: Windows Cake Validation
dependsOn: []
jobs:
- ${{ each BuildCondition in parameters.BuildConfigurations }}:
- job: win_hosted_${{ BuildCondition }}
workspace:
clean: all
displayName: Build Windows Phase (${{ BuildCondition }})
condition: or(
${{ parameters.BuildEverything }},
ne(variables['Build.Reason'], 'PullRequest'),
eq('${{ BuildCondition }}', 'Release'))
timeoutInMinutes: 60
pool:
name: $(vs2019VmPool)
vmImage: $(vs2019VmImage)
demands: [ msbuild ]
steps:
- powershell: |
PureWeen marked this conversation as resolved.
Show resolved Hide resolved
& dotnet cake --target=VS-WINUI-CI --configuration=${{ BuildCondition }}
- task: CopyFiles@2
displayName: 'Copy Bin Log Files'
condition: always()
inputs:
Contents: |
**/*.binlog
TargetFolder: $(build.artifactstagingdirectory)
flattenFolders: true
- task: PublishBuildArtifacts@1
condition: always()
displayName: publish artifacts
inputs:
ArtifactName: win_build_cake

- stage: build_osx
displayName: iOS
Expand Down