react-native-macos/.ado/apple-pr.yml

58 строки
2.0 KiB
YAML
Исходник Обычный вид История

# 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
- 0.59-stable
jobs:
- job: JavaScriptRNPR
displayName: JavaScript React Native PR
pool:
vmImage: macOS-10.14
demands: ['xcode', 'sh', 'npm']
steps:
- template: templates/apple-job-javascript.yml
- job: AppleRNPR
displayName: Apple React Native PR
strategy:
matrix:
ios:
packager_platform: 'ios'
xcode_sdk: iphonesimulator
xcode_scheme: 'RNTester'
xcode_destination: 'platform=iOS Simulator,OS=latest,name=iPhone 8'
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'
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'
xcode_actions_release: 'build'
pool:
2019-09-24 22:25:38 +03:00
vmImage: macOS-10.14
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)
xcode_actions_debug: $(xcode_actions_debug)
xcode_actions_release: $(xcode_actions_release)
xcode_destination: $(xcode_destination)