Skip to content

Commit

Permalink
Merge branch 'master' into cancelHeadlessTask
Browse files Browse the repository at this point in the history
  • Loading branch information
cpojer authored Feb 15, 2019
2 parents c3bff25 + d27a4f9 commit 0f420b3
Show file tree
Hide file tree
Showing 3,501 changed files with 114,048 additions and 81,764 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
48 changes: 48 additions & 0 deletions .appveyor/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
environment:
ANDROID_HOME: "C:\\android-sdk-windows"
ANDROID_NDK: "C:\\android-sdk-windows\\android-ndk-r17c"
ANDROID_BUILD_VERSION: 28
ANDROID_TOOLS_VERSION: 28.0.3

GRADLE_OPTS: -Dorg.gradle.daemon=false

SDK_TOOLS_URL: https://dl.google.com/android/repository/sdk-tools-windows-3859397.zip
NDK_TOOLS_URL: https://dl.google.com/android/repository/android-ndk-r17c-windows-x86_64.zip

matrix:
- nodejs_version: 8
- nodejs_version: 10

install:
# Install Android SDK Tools
- mkdir "%ANDROID_HOME%"
- appveyor DownloadFile "%SDK_TOOLS_URL%" -FileName "%TMP%/sdk-tools.zip"
- 7z x "%TMP%/sdk-tools.zip" -o"%ANDROID_HOME%" > nul
- set PATH=%PATH%;"%ANDROID_HOME%\tools\bin"

- yes 2> nul | sdkmanager --licenses > nul
- yes 2> nul | sdkmanager "system-images;android-19;google_apis;armeabi-v7a"
- yes 2> nul | sdkmanager "platforms;android-%ANDROID_BUILD_VERSION%"
- yes 2> nul | sdkmanager "build-tools;%ANDROID_TOOLS_VERSION%"
- yes 2> nul | sdkmanager "add-ons;addon-google_apis-google-23"
- yes 2> nul | sdkmanager "extras;android;m2repository"

- appveyor DownloadFile "%NDK_TOOLS_URL%" -FileName "%TMP%/ndk.zip"
- 7z x "%TMP%/ndk.zip" -o"%ANDROID_HOME%" > nul

- ps: Install-Product node $env:nodejs_version
- node --version
- yarn --version
- appveyor-retry yarn install

build_script:
- gradlew.bat RNTester:android:app:assembleRelease

test_script:
- npm test

cache:
- node_modules
- "%LOCALAPPDATA%/Yarn"
- "%USERPROFILE%/.gradle/caches"
- "%USERPROFILE%/.gradle/wrapper"
4 changes: 2 additions & 2 deletions .buckconfig
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@

[android]
target = android-26
target = android-28

[download]
max_number_of_retries = 3

[maven_repositories]
central = https://repo1.maven.org/maven2
google = https://maven.google.com
google = https://dl.google.com/dl/android/maven2/

[alias]
rntester = //RNTester/android/app:app
Loading

0 comments on commit 0f420b3

Please sign in to comment.