Skip to content

Commit 124619e

Browse files
committed
perf(ci): unload diagnosticsd to speed up macOS runner
1 parent 08e40ec commit 124619e

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

.github/workflows/tests_e2e_android.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,12 @@ jobs:
5252
EMULATOR_COMMAND: "-avd TestingAVD -noaudio -gpu swiftshader_indirect -camera-back none -no-snapshot -no-window -no-boot-anim -nojni -memory 2048 -timezone 'Europe/London' -cores 2"
5353
EMULATOR_EXECUTABLE: qemu-system-x86_64-headless
5454
steps:
55+
# macOS13 runners are slooooow
56+
# This is from: https://github.com/actions/runner-images/issues/7971#issuecomment-1824430407
57+
- name: macOS-13-runner speedup
58+
run: |
59+
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.diagnosticd.plist
60+
5561
- uses: actions/checkout@v4
5662
with:
5763
fetch-depth: 50

.github/workflows/tests_e2e_ios.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,12 @@ jobs:
3333
env:
3434
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
3535
steps:
36+
# macOS13 runners are slooooow
37+
# This is from: https://github.com/actions/runner-images/issues/7971#issuecomment-1824430407
38+
- name: macOS-13-runner speedup
39+
run: |
40+
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.diagnosticd.plist
41+
3642
# Set up tool versions
3743
- uses: actions/setup-node@v3
3844
with:

0 commit comments

Comments
 (0)