Skip to content

Commit 981c00b

Browse files
committed
Run Android tests on 4-core-ubuntu
1 parent 633dc34 commit 981c00b

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

.github/workflows/check.yml

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ jobs:
110110
test-android:
111111
if: github.ref == 'refs/heads/main' || contains(github.event.pull_request.labels.*.name, 'Android 🤖')
112112
name: Test app (Android)
113-
runs-on: ubuntu-latest
113+
runs-on: 4-core-ubuntu
114114
steps:
115115
- uses: actions/checkout@v4
116116
- uses: actions/setup-node@v4
@@ -137,14 +137,6 @@ jobs:
137137
REACT_NATIVE_OVERRIDE_HERMES_DIR=$(npx react-native-node-api vendor-hermes --silent)
138138
echo "REACT_NATIVE_OVERRIDE_HERMES_DIR=$REACT_NATIVE_OVERRIDE_HERMES_DIR" >> $GITHUB_ENV
139139
working-directory: apps/test-app
140-
# - name: Setup Android Emulator cache
141-
# uses: actions/cache@v4
142-
# id: avd-cache
143-
# with:
144-
# path: |
145-
# ~/.android/avd/*
146-
# ~/.android/adb*
147-
# key: ${{ runner.os }}-avd-29
148140
# See https://github.com/marketplace/actions/android-emulator-runner#running-hardware-accelerated-emulators-on-linux-runners
149141
- name: Enable KVM group perms
150142
run: |
@@ -164,6 +156,10 @@ jobs:
164156
api-level: 29
165157
force-avd-creation: false
166158
emulator-options: -no-snapshot-save -no-metrics -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
159+
ram-size: "8192M"
160+
heap-size: "4096M"
161+
disk-size: "10G"
162+
cores: "4"
167163
disable-animations: true
168164
arch: x86
169165
ndk: ${{ env.NDK_VERSION }}

0 commit comments

Comments
 (0)