conditional macOS build
This commit is contained in:
Родитель
a7c6078027
Коммит
65c090c9c1
14
.vsts-ci.yml
14
.vsts-ci.yml
|
@ -48,7 +48,7 @@ jobs:
|
|||
ArtifactType: Container
|
||||
|
||||
- job: macos
|
||||
|
||||
condition: ne(variables['iOSSigning.Certificate'], '')
|
||||
pool:
|
||||
vmImage: 'macOS-10.13'
|
||||
|
||||
|
@ -56,6 +56,18 @@ jobs:
|
|||
- checkout: self
|
||||
clean: true
|
||||
|
||||
- task: InstallAppleCertificate@2
|
||||
displayName: 'Install an Apple certificate'
|
||||
inputs:
|
||||
certSecureFile: '$(iOSSigning.Certificate)'
|
||||
certPwd: '$(iOSSigning.CertificatePwd)'
|
||||
signingIdentity: '$(iOSSigning.CertificateIdentity)'
|
||||
|
||||
- task: InstallAppleProvisioningProfile@1
|
||||
displayName: 'Install an Apple provisioning profile'
|
||||
inputs:
|
||||
provProfileSecureFile: '$(iOSSigning.ProvisioningProfile)'
|
||||
|
||||
- task: MSBuild@1
|
||||
inputs:
|
||||
solution: '$(build.sourcesdirectory)/Samples/XamlUIBasics/cs/AppUIBasics.iOS/AppUIBasics.iOS.csproj'
|
||||
|
|
Загрузка…
Ссылка в новой задаче