-
Notifications
You must be signed in to change notification settings - Fork 4
/
azure-pipelines.yml
48 lines (41 loc) · 1.13 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
# 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
trigger:
- master
pr:
autoCancel: true
branches:
include:
- '*'
pool:
vmImage: 'macOS-latest'
steps:
- task: DownloadSecureFile@1
name: GooglePlist
displayName: 'Download Firebase Credentials'
inputs:
secureFile: 'GoogleService-Info.plist'
- script: |
echo $(GooglePlist.secureFilePath)
cp $(GooglePlist.secureFilePath) '$(Pipeline.Workspace)/s/Steps4Impact/Supporting Files/'
- task: Xcode@5
inputs:
actions: 'build'
configuration: 'Release'
sdk: 'iphoneos'
xcWorkspacePath: 'Steps4Impact.xcworkspace'
scheme: 'Steps4Impact'
- task: Xcode@5
inputs:
actions: 'build'
configuration: 'Debug'
sdk: 'iphonesimulator'
xcWorkspacePath: 'Steps4Impact.xcworkspace'
scheme: 'Steps4Impact'
destinationPlatformOption: iOS
destinationTypeOption: simulators
destinationSimulators: 'iPhone 8'
args: 'test'
publishJUnitResults: true