forked from Provenance-Emu/Provenance
-
Notifications
You must be signed in to change notification settings - Fork 0
/
azure-pipelines.yml
76 lines (70 loc) · 2.96 KB
/
azure-pipelines.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
# Xcode
# Build, test, and archive an Xcode workspace on macOS.
# Add steps that install certificates, test, sign, and distribute an app, save build artifacts, and more:
# https://docs.microsoft.com/azure/devops/pipelines/languages/xcode
pool:
vmImage: 'macOS-10.13'
variables:
scheme: 'Provenance-Release'
sdk: 'iphoneos'
configuration: 'Release'
target: 'Provenance'
steps:
- task: Xcode@5
inputs:
actions: 'build'
sdk: '$(sdk)'
scheme: '$(scheme)'
configuration: '$(configuration)'
target: '$(target)'
xcWorkspacePath: 'Provenance.xcworkspace'
exportPath: '$(agent.buildDirectory)/output/$(sdk)/$(configuration)'
xcodeVersion: '10' # Options: 8, 9, default, specifyPath
destinationPlatformOption: 'iOS'
destinationTypeOption: 'devices' # Optional. Options: simulators, devices
packageApp: true
#signingOption: 'nosign' # Optional. Options: nosign, default, manual, auto
#signingIdentity: # Optional
#provisioningProfileUuid: # Optional
#provisioningProfileName: # Optional
#teamId: # Optional
# Additional options https://docs.microsoft.com/en-us/azure/devops/pipelines/tasks/build/xcode?view=vsts
# Install Apple Certificate
# Install an Apple certificate required to build on a macOS agent
# https://docs.microsoft.com/en-us/azure/devops/pipelines/tasks/utility/install-apple-certificate?view=vsts
# - task: InstallAppleCertificate@2
# inputs:
# certSecureFile:
#certPwd: # Optional
#keychain: 'temp' # Options: default, temp, custom
#keychainPassword: # Required when keychain == Custom || Keychain == Default
#customKeychainPath: # Required when keychain == Custom
#deleteCert: # Optional
#deleteCustomKeychain: # Optional
#signingIdentity: # Optional
# Install Apple Provisioning Profile
# Install an Apple provisioning profile required to build on a macOS agent
# https://docs.microsoft.com/en-us/azure/devops/pipelines/tasks/utility/install-apple-provisioning-profile?view=vsts
# - task: InstallAppleProvisioningProfile@1
# inputs:
#provisioningProfileLocation: 'secureFiles' # Options: secureFiles, sourceRepository
#provProfileSecureFile: # Required when provisioningProfileLocation == SecureFiles
#provProfileSourceRepository: # Required when provisioningProfileLocation == SourceRepository
#removeProfile: # Optional
# App Center Distribute
# Distribute app builds to testers and users via App Center
# - task: AppCenterDistribute@1
# inputs:
# serverEndpoint:
# appSlug:
# appFile:
#symbolsOption: 'Apple' # Optional. Options: apple
#symbolsPath: # Optional
#symbolsPdbFiles: '**/*.pdb' # Optional
#symbolsDsymFiles: # Optional
#symbolsMappingTxtFile: # Optional
#symbolsIncludeParentDirectory: # Optional
#releaseNotesOption: 'input' # Options: input, file
#releaseNotesInput: # Required when releaseNotesOption == Input
#releaseNotesFile: # Required when releaseNotesOption == File
#distributionGroupId: # Optional