From 3db7ab6683b33c0bc28dfb73b199200e8bac4c68 Mon Sep 17 00:00:00 2001 From: Nick Gerleman Date: Thu, 25 Apr 2024 06:40:59 -0700 Subject: [PATCH] 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 --- .github/workflows/test-all.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-all.yml b/.github/workflows/test-all.yml index 0e37257090b..b56855dcd98 100644 --- a/.github/workflows/test-all.yml +++ b/.github/workflows/test-all.yml @@ -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