-
Notifications
You must be signed in to change notification settings - Fork 1
/
azure-pipelines.yml
51 lines (48 loc) · 1.23 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
# 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:
batch: true
branches:
include: ["master"]
pr:
autoCancel: true
branches:
include: ["master"]
pool:
vmImage: 'macOS-10.13'
steps:
- task: Xcode@5
inputs:
actions: 'test'
scheme: 'StanleyTests-iOS'
sdk: 'iphonesimulator'
destinationPlatformOption: "iOS"
destinationTypeOption: "simulators"
destinationSimulators: 'iPhone X'
xcodeVersion: '10'
useXcpretty: true
publishJUnitResults: true
- task: Xcode@5
inputs:
actions: 'test'
scheme: 'StanleyTests-tvOS'
sdk: 'appletvsimulator'
destinationPlatformOption: "tvOS"
destinationTypeOption: "simulators"
destinationSimulators: 'Apple TV'
xcodeVersion: '10'
useXcpretty: true
publishJUnitResults: true
- task: Xcode@5
inputs:
actions: 'test'
scheme: 'StanleyTests-macOS'
sdk: 'macosx'
xcodeVersion: '10'
useXcpretty: true
publishJUnitResults: true
- task: ShellScript@2
inputs:
scriptPath: "scripts/upload_code_coverage.sh"