51 строка
1.3 KiB
YAML
51 строка
1.3 KiB
YAML
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!
|
|
|
|
name: $(BuildDefinitionName)_$(date:yyMM).$(date:dd)$(rev:rrr)
|
|
|
|
parameters:
|
|
- name: buildPlatforms
|
|
type: object
|
|
default:
|
|
- x64
|
|
- arm64
|
|
- name: enableMsBuildCaching
|
|
type: boolean
|
|
displayName: "Enable MSBuild Caching"
|
|
default: false
|
|
- name: runTests
|
|
type: boolean
|
|
displayName: "Run Tests"
|
|
default: true
|
|
- name: useVSPreview
|
|
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
|
|
parameters:
|
|
buildPlatforms: ${{ parameters.buildPlatforms }}
|
|
enableMsBuildCaching: ${{ parameters.enableMsBuildCaching }}
|
|
runTests: ${{ parameters.runTests }}
|
|
useVSPreview: ${{ parameters.useVSPreview }}
|
|
useLatestWinAppSDK: ${{ parameters.useLatestWinAppSDK }}
|
|
winAppSDKVersionNumber: ${{ parameters.winAppSDKVersionNumber }}
|
|
useExperimentalVersion: ${{ parameters.useExperimentalVersion }}
|