@@ -71,7 +71,6 @@ references:
7171 hermes_tarball_debug_cache_key : &hermes_tarball_debug_cache_key v4-hermes-tarball-debug-{{ checksum "/tmp/hermes/hermesversion" }}-{{ checksum "/tmp/react-native-version" }}
7272 hermes_tarball_release_cache_key : &hermes_tarball_release_cache_key v3-hermes-tarball-release-{{ checksum "/tmp/hermes/hermesversion" }}-{{ checksum "/tmp/react-native-version" }}
7373 pods_cache_key : &pods_cache_key v8-pods-{{ .Environment.CIRCLE_JOB }}-{{ checksum "packages/rn-tester/Podfile.lock.bak" }}-{{ checksum "packages/rn-tester/Podfile" }}
74- windows_yarn_cache_key : &windows_yarn_cache_key v1-win-yarn-cache-{{ arch }}-{{ checksum "yarn.lock" }}
7574 yarn_cache_key : &yarn_cache_key v5-yarn-cache-{{ .Environment.CIRCLE_JOB }}
7675
7776 cache_paths :
@@ -1021,95 +1020,6 @@ jobs:
10211020 -scheme RNTester \
10221021 -sdk iphonesimulator
10231022
1024- # -------------------------
1025- # JOBS: Windows
1026- # -------------------------
1027- test_windows :
1028- executor :
1029- name : win/default
1030- parameters :
1031- run_disabled_tests :
1032- type : boolean
1033- default : false
1034- environment :
1035- - ANDROID_HOME : " C:\\ Android\\ android-sdk"
1036- - ANDROID_NDK : " C:\\ Android\\ android-sdk\\ ndk\\ 20.1.5948944"
1037- - ANDROID_BUILD_VERSION : 33
1038- - ANDROID_TOOLS_VERSION : 33.0.0
1039- - GRADLE_OPTS : -Dorg.gradle.daemon=false
1040- steps :
1041- - checkout_code_with_cache
1042-
1043- - run :
1044- name : Disable NVM
1045- # Use choco to manage node versions due to https://github.com/npm/cli/issues/4234
1046- command : nvm off
1047-
1048- - run :
1049- name : Install Node JS
1050- # Note: Version set separately for non-Windows builds, see above.
1051- command : choco install nodejs-lts
1052-
1053- # Setup Dependencies
1054- - run :
1055- name : Enable Yarn with corepack
1056- command : corepack enable
1057-
1058- - run :
1059- name : Display Environment info
1060- command : |
1061- npm install -g envinfo
1062- envinfo -v
1063- envinfo
1064-
1065- - restore_cache :
1066- keys :
1067- - *windows_yarn_cache_key
1068- - run :
1069- name : " Yarn: Install Dependencies"
1070- command : yarn install --frozen-lockfile --non-interactive
1071- - save_cache :
1072- key : *windows_yarn_cache_key
1073- paths :
1074- - C:\Users\circleci\AppData\Local\Yarn
1075-
1076- # Try to install the SDK up to 3 times, since network flakiness can cause install failures
1077- # Using a timeout of 9 mins, as circle ci will timeout if there is no output for 10 mins
1078- - run :
1079- name : Install Android SDK Tools
1080- command : choco install android-sdk --timeout 540; if (!$?) { choco install android-sdk --timeout 540 --force --forcedependencies}; if (!$?) { choco install android-sdk --force --forcedependencies}
1081-
1082- - run :
1083- name : Setup Android SDKs
1084- command : |
1085- sdkmanager --licenses
1086- sdkmanager "system-images;android-21;google_apis;armeabi-v7a"
1087- sdkmanager "platforms;android-%ANDROID_BUILD_VERSION%"
1088- sdkmanager "build-tools;%ANDROID_TOOLS_VERSION%"
1089- sdkmanager "add-ons;addon-google_apis-google-23"
1090- sdkmanager "extras;android;m2repository"
1091-
1092- # -------------------------
1093- # Run Tests
1094- - run :
1095- name : " Flow: Check Android"
1096- command : yarn flow-check-android
1097- - run :
1098- name : " Flow: Check iOS"
1099- command : yarn flow-check-ios
1100- - run :
1101- name : " Run Tests: JavaScript Tests"
1102- command : yarn test
1103-
1104- # Optionally, run disabled tests
1105- - when :
1106- condition : << parameters.run_disabled_tests >>
1107- steps :
1108- - run : echo "Failing tests may be moved here temporarily."
1109- - run :
1110- name : Android Build
1111- command : ./gradlew.bat packages:rn-tester:android:app:assembleRelease
1112-
11131023 # -------------------------
11141024 # JOBS: Coverage
11151025 # -------------------------
@@ -1847,8 +1757,6 @@ workflows:
18471757 - test_js :
18481758 name : test_js_prev_lts
18491759 executor : nodeprevlts
1850- - test_windows :
1851- run_disabled_tests : false
18521760
18531761 # This workflow should only be triggered by release script
18541762 package_release :
0 commit comments