2019-03-05 00:27:54 +03:00
|
|
|
# This file defines the Apple PR build steps used during the CI loop
|
|
|
|
name: $(Date:yyyyMMdd).$(Rev:.r)
|
|
|
|
|
|
|
|
trigger: none # will disable CI builds entirely
|
|
|
|
|
|
|
|
pr:
|
|
|
|
- master
|
2019-12-06 20:19:31 +03:00
|
|
|
- 0.59-stable
|
2019-03-05 00:27:54 +03:00
|
|
|
|
|
|
|
jobs:
|
2019-12-02 01:35:18 +03:00
|
|
|
- job: JavaScriptRNPR
|
|
|
|
displayName: JavaScript React Native PR
|
|
|
|
pool:
|
|
|
|
vmImage: macOS-10.14
|
|
|
|
demands: ['xcode', 'sh', 'npm']
|
|
|
|
steps:
|
|
|
|
- template: templates/apple-job-javascript.yml
|
|
|
|
|
2019-03-05 00:27:54 +03:00
|
|
|
- job: AppleRNPR
|
|
|
|
displayName: Apple React Native PR
|
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
ios:
|
|
|
|
packager_platform: 'ios'
|
|
|
|
xcode_sdk: iphonesimulator
|
|
|
|
xcode_scheme: 'RNTester'
|
2019-09-03 19:28:54 +03:00
|
|
|
xcode_destination: 'platform=iOS Simulator,OS=latest,name=iPhone 8'
|
2019-10-25 22:26:06 +03:00
|
|
|
xcode_actions_debug: 'build test'
|
|
|
|
xcode_actions_release: 'build'
|
2019-09-27 00:06:23 +03:00
|
|
|
# Microsoft- We don't use tvOS, so don't bother maintaining the infra
|
|
|
|
# tvos:
|
|
|
|
# packager_platform: 'ios'
|
|
|
|
# xcode_sdk: appletvsimulator
|
|
|
|
# xcode_scheme: 'RNTester-tvOS'
|
|
|
|
# xcode_destination: 'platform=tvOS Simulator,OS=latest,name=Apple TV'
|
2019-03-05 00:27:54 +03:00
|
|
|
macos:
|
|
|
|
packager_platform: 'macos'
|
|
|
|
xcode_sdk: macosx
|
|
|
|
xcode_scheme: 'RNTester-macOS'
|
|
|
|
xcode_destination: 'platform=macOS,arch=x86_64'
|
2019-11-12 04:15:26 +03:00
|
|
|
xcode_actions_debug: 'build test'
|
2019-10-25 22:26:06 +03:00
|
|
|
xcode_actions_release: 'build'
|
2019-03-05 00:27:54 +03:00
|
|
|
pool:
|
2019-09-24 22:25:38 +03:00
|
|
|
vmImage: macOS-10.14
|
2019-03-05 00:27:54 +03:00
|
|
|
demands: ['xcode', 'sh', 'npm']
|
|
|
|
timeoutInMinutes: 60 # how long to run the job before automatically cancelling
|
|
|
|
cancelTimeoutInMinutes: 5 # how much time to give 'run always even if cancelled tasks' before killing them
|
|
|
|
steps:
|
|
|
|
- template: templates/apple-job-react-native.yml
|
|
|
|
parameters:
|
|
|
|
packager_platform: $(packager_platform)
|
|
|
|
xcode_sdk: $(xcode_sdk)
|
|
|
|
xcode_configuration: $(xcode_configuration)
|
|
|
|
xcode_scheme: $(xcode_scheme)
|
2019-10-25 22:26:06 +03:00
|
|
|
xcode_actions_debug: $(xcode_actions_debug)
|
|
|
|
xcode_actions_release: $(xcode_actions_release)
|
2019-03-05 00:27:54 +03:00
|
|
|
xcode_destination: $(xcode_destination)
|