mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Run Android Build and Tests Against 8-core-ubuntu (#44248)
Summary: The final merged GitHub Actions PR ended up keeping us on `ubuntu-latest` for Android jobs. These are ridiculously slow and are also now running out of disk space (which then files a task on a random change author). E.g. https://github.com/facebook/react-native/actions/runs/8826104037/job/24231379139 Switch to the `8-core-ubuntu`, which is closer to what we were using for CircleCI, and has more disk space: https://docs.github.com/en/actions/using-github-hosted-runners/about-larger-runners/about-larger-runners#specifications-for-general-larger-runners Changelog: [Internal] Pull Request resolved: https://github.com/facebook/react-native/pull/44248 Test Plan: GitHub Actions still runs these successfully Reviewed By: cortinico Differential Revision: D56558697 Pulled By: NickGerleman fbshipit-source-id: 180abcf2d3420760c090c0c21173afc6fa5bcf0c
This commit is contained in:
committed by
Facebook GitHub Bot
parent
b40b3b31a2
commit
3db7ab6683
@@ -85,7 +85,7 @@ jobs:
|
||||
|
||||
echo ${{ steps.hermes-version.outputs.version }}
|
||||
build_android:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: 8-core-ubuntu
|
||||
needs: [set_release_type, prepare_hermes_workspace]
|
||||
container:
|
||||
image: reactnativecommunity/react-native-android:latest
|
||||
@@ -134,7 +134,7 @@ jobs:
|
||||
packages/react-native-codegen/lib
|
||||
enableCrossOsArchive: true
|
||||
test_android:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: 8-core-ubuntu
|
||||
needs: [prepare_hermes_workspace, build_android]
|
||||
container:
|
||||
image: reactnativecommunity/react-native-android:latest
|
||||
|
||||
Reference in New Issue
Block a user