mirror of
https://github.com/status-im/react-native.git
synced 2025-02-23 06:38:13 +00:00
Summary: Any failures in `test_objc` within the objc-test.sh script have been kept hidden as `xcpretty` was swallowing the exit code from xcodebuild. Fixes the issue TheSavior brought up in #22470 where failing snapshot tests were not reflected on Circle. Run on Circle CI and confirm `test_objc` fails (iOS tests *are* broken on master). Pull Request resolved: https://github.com/facebook/react-native/pull/22562 Differential Revision: D13406987 Pulled By: hramos fbshipit-source-id: 3f3da01ab4c0ad87077813b06d2fdf788f32f6b8
31 lines
817 B
Bash
31 lines
817 B
Bash
# These should match the recommended versions listed in
|
|
# https://facebook.github.io/react-native/docs/getting-started.html
|
|
|
|
|
|
## ANDROID ##
|
|
# Android SDK Build Tools revision
|
|
export ANDROID_SDK_BUILD_TOOLS_REVISION=28.0.2
|
|
# Android API Level we build with
|
|
export ANDROID_SDK_BUILD_API_LEVEL="28"
|
|
# Google APIs for Android level
|
|
export ANDROID_GOOGLE_API_LEVEL="23"
|
|
# Minimum Android API Level we target
|
|
export ANDROID_SDK_TARGET_API_LEVEL="19"
|
|
# Android Virtual Device name
|
|
export AVD_NAME="testAVD"
|
|
# ABI to use in Android Virtual Device
|
|
export AVD_ABI=x86
|
|
|
|
## IOS ##
|
|
export IOS_TARGET_OS="12.1"
|
|
export IOS_DEVICE="iPhone XS"
|
|
export TVOS_DEVICE="Apple TV"
|
|
|
|
## CI OVERRIDES ##
|
|
# Values to override when running in CI
|
|
# $CI is set by Circle CI
|
|
if [ $CI ]; then
|
|
# Use ARM on Circle CI
|
|
export AVD_ABI=armeabi-v7a
|
|
fi
|