separated stages for native and forms and added explicit build task for dependencies
This commit is contained in:
Родитель
867da58ea4
Коммит
e2471e96e4
|
@ -57,11 +57,11 @@ stages:
|
|||
solution: 'src/HotUI.Forms/HotUI.Forms.csproj'
|
||||
configuration: '$(BuildConfiguration)'
|
||||
|
||||
- stage: BuildSamples
|
||||
- stage: BuildSamplesNative
|
||||
dependsOn: BuildSource
|
||||
jobs:
|
||||
- job: BuildHotUISamples
|
||||
displayName: Build HoTUI Samples
|
||||
- job: BuildHotUISamplesNative
|
||||
displayName: Build HoTUI Native Samples
|
||||
pool:
|
||||
name: Hosted macOS
|
||||
vmImage: 'macos-latest'
|
||||
|
@ -90,6 +90,18 @@ stages:
|
|||
configuration: '$(BuildConfiguration)'
|
||||
createAppPackage: false
|
||||
|
||||
- task: MSBuild@1
|
||||
displayName: 'Build HotUI'
|
||||
inputs:
|
||||
solution: 'src/HotUI/HotUI.csproj'
|
||||
configuration: '$(BuildConfiguration)'
|
||||
|
||||
- task: MSBuild@1
|
||||
displayName: 'Build HotUI.iOS'
|
||||
inputs:
|
||||
solution: 'src/HotUI.iOS/HotUI.iOS.csproj'
|
||||
configuration: '$(BuildConfiguration)'
|
||||
|
||||
- task: XamariniOS@2
|
||||
displayName: 'Build HotUI.iOS.Sample App'
|
||||
inputs:
|
||||
|
@ -100,6 +112,21 @@ stages:
|
|||
buildForSimulator: true
|
||||
runNugetRestore: false
|
||||
|
||||
- stage: BuildSamplesForms
|
||||
dependsOn: BuildSource
|
||||
jobs:
|
||||
- job: BuildHotUISamplesForms
|
||||
displayName: Build HoTUI Forms Samples
|
||||
pool:
|
||||
name: Hosted macOS
|
||||
vmImage: 'macos-latest'
|
||||
demands:
|
||||
- MSBuild
|
||||
- Xamarin.Android
|
||||
- xcode
|
||||
- Xamarin.iOS
|
||||
- msbuild
|
||||
|
||||
- task: XamarinAndroid@1
|
||||
displayName: 'Build HotUI.Forms.Android.Sample App'
|
||||
inputs:
|
||||
|
@ -107,6 +134,12 @@ stages:
|
|||
configuration: '$(BuildConfiguration)'
|
||||
createAppPackage: false
|
||||
|
||||
- task: MSBuild@1
|
||||
displayName: 'Build HotUI.Forms'
|
||||
inputs:
|
||||
solution: 'src/HotUI.Forms/HotUI.Forms.csproj'
|
||||
configuration: '$(BuildConfiguration)'
|
||||
|
||||
- task: XamariniOS@2
|
||||
displayName: 'Build HotUI.Forms.iOS.Sample App'
|
||||
inputs:
|
||||
|
|
Загрузка…
Ссылка в новой задаче