Skip to content

Commit

Permalink
for testing az
Browse files Browse the repository at this point in the history
  • Loading branch information
lei9444 committed Feb 13, 2025
1 parent 58d3408 commit 494b396
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 22 deletions.
44 changes: 22 additions & 22 deletions .pipelines/v2/ci-using-the-latest-winappsdk.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,32 @@
trigger: none
pr: none
schedules:
- cron: "0 0 * * *" # every day at midnight
displayName: "Daily midnight Build"
branches:
include:
- main
always: false # only run if there's code changes!
trigger:
batch: true
branches:
include:
- main
- stable
# paths:
# exclude:
# - doc/*
# - temp/*
# - tools/*
# - '**.md'

pr:
branches:
include:
- main
- stable
# paths:
# exclude:
# - '**.md'
# - doc

name: $(BuildDefinitionName)_$(date:yyMM).$(date:dd)$(rev:rrr)

parameters:
- name: buildPlatforms
type: object
default:
- x64
- arm64
- name: enableMsBuildCaching
type: boolean
Expand All @@ -28,15 +40,6 @@ parameters:
type: boolean
displayName: "Build Using Visual Studio Preview"
default: false
- name: useLatestWinAppSDK
type: boolean
default: true
- name: winAppSDKVersionNumber
type: string
default: 1.6
- name: useExperimentalVersion
type: boolean
default: false

extends:
template: templates/pipeline-ci-build.yml
Expand All @@ -45,6 +48,3 @@ extends:
enableMsBuildCaching: ${{ parameters.enableMsBuildCaching }}
runTests: ${{ parameters.runTests }}
useVSPreview: ${{ parameters.useVSPreview }}
useLatestWinAppSDK: ${{ parameters.useLatestWinAppSDK }}
winAppSDKVersionNumber: ${{ parameters.winAppSDKVersionNumber }}
useExperimentalVersion: ${{ parameters.useExperimentalVersion }}
6 changes: 6 additions & 0 deletions .pipelines/v2/templates/job-build-project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,12 @@ jobs:
- ${{ parameters.beforeBuildSteps }}

- bash: |
az pipelines build list --organization '$(System.TeamFoundationCollectionUri)' --project '$(System.TeamProject)'
displayName: 'Show build list'
env:
AZURE_DEVOPS_EXT_PAT: $(System.AccessToken)
- task: VSBuild@1
${{ if eq(parameters.runTests, true) }}:
displayName: Build and Test PowerToys main project
Expand Down

0 comments on commit 494b396

Please sign in to comment.