File tree Expand file tree Collapse file tree 3 files changed +30
-12
lines changed
build-tools/automation/yaml-templates Expand file tree Collapse file tree 3 files changed +30
-12
lines changed Original file line number Diff line number Diff line change 11parameters :
22 buildPool : android-devdiv-ubuntu-vmss
3+ checkoutCommit : ' '
4+ checkoutPath : ' s/xamarin-android'
5+ checkoutPersistCredentials : false
36 dependsOn : ' '
47 dependsOnResult : ' '
58 jobName : linux_build_create_sdk_pack
69 jobDisplayName : Linux > Build
7- repoAlias : self
10+ repositoryAlias : self
811 stageName : linux_build
912 stageDisplayName : Linux
1013
@@ -25,10 +28,12 @@ stages:
2528 CXX : g++-10
2629 CC : gcc-10
2730 steps :
28- - checkout : ${{ parameters.repoAlias }}
29- clean : true
30- submodules : recursive
31- path : s/xamarin-android
31+ - template : sdk-unified/steps/checkout/v1.yml@yaml-templates
32+ parameters :
33+ resource : ${{ parameters.repositoryAlias }}
34+ commit : ${{ parameters.checkoutCommit }}
35+ path : ${{ parameters.checkoutPath }}
36+ persistCredentials : ${{ parameters.checkoutPersistCredentials }}
3237
3338 - checkout : monodroid
3439 clean : true
Original file line number Diff line number Diff line change 11parameters :
22 buildPoolName : $(MacBuildPoolName)
33 buildPoolImage : $(MacBuildPoolImage)
4+ checkoutCommit : ' '
5+ checkoutPath : ' s/xamarin-android'
6+ checkoutPersistCredentials : false
47 dependsOn : ' '
58 dependsOnResult : ' '
69 jobName : mac_build_create_installers
710 jobDisplayName : macOS > Build
811 provisionatorChannel : latest
9- repoAlias : self
12+ repositoryAlias : self
1013 signClassicPkgContent : false
1114 stageName : mac_build
1215 stageDisplayName : Mac
@@ -31,9 +34,12 @@ stages:
3134 workspace :
3235 clean : all
3336 steps :
34- - checkout : ${{ parameters.repoAlias }}
35- submodules : recursive
36- path : s/xamarin-android
37+ - template : sdk-unified/steps/checkout/v1.yml@yaml-templates
38+ parameters :
39+ resource : ${{ parameters.repositoryAlias }}
40+ commit : ${{ parameters.checkoutCommit }}
41+ path : ${{ parameters.checkoutPath }}
42+ persistCredentials : ${{ parameters.checkoutPersistCredentials }}
3743
3844 - template : install-microbuild-tooling.yaml
3945 parameters :
Original file line number Diff line number Diff line change 11parameters :
22 buildPool : $(1ESWindowsPool)
3+ checkoutCommit : ' '
4+ checkoutPath : ' '
5+ checkoutPersistCredentials : false
36 dependsOn : ' '
47 dependsOnResult : ' '
58 jobName : win_build_test
69 jobDisplayName : Windows > Build & Smoke Test
7- repoAlias : self
10+ repositoryAlias : self
811 stageName : win_build_test
912 stageDisplayName : Windows
1013
@@ -22,8 +25,12 @@ stages:
2225 pool : ${{ parameters.buildPool }}
2326 timeoutInMinutes : 360
2427 steps :
25- - checkout : ${{ parameters.repoAlias }}
26- submodules : recursive
28+ - template : sdk-unified/steps/checkout/v1.yml@yaml-templates
29+ parameters :
30+ resource : ${{ parameters.repositoryAlias }}
31+ commit : ${{ parameters.checkoutCommit }}
32+ path : ${{ parameters.checkoutPath }}
33+ persistCredentials : ${{ parameters.checkoutPersistCredentials }}
2734
2835 - template : kill-processes.yaml
2936
You can’t perform that action at this time.
0 commit comments