Skip to content

Commit

Permalink
fix(ci): attempt to speed up macOS runner
Browse files Browse the repository at this point in the history
  • Loading branch information
mikehardy committed Nov 23, 2023
1 parent 7263e02 commit a5772db
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/tests_e2e_android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,14 @@ jobs:
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"
EMULATOR_EXECUTABLE: qemu-system-x86_64-headless
steps:
# macOS13 runners are slooooow
# This is from: https://github.com/actions/runner-images/issues/7971#issuecomment-1824118293
- name: macOS-13-runner speedup
run: |
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.mDNSresponder.plist
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.mDNSresponderHelper.plist
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.airportd.plist
- uses: actions/checkout@v4
with:
fetch-depth: 50
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/tests_e2e_ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,14 @@ jobs:
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
steps:
# macOS13 runners are slooooow
# This is from: https://github.com/actions/runner-images/issues/7971#issuecomment-1824118293
- name: macOS-13-runner speedup
run: |
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.mDNSresponder.plist
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.mDNSresponderHelper.plist
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.airportd.plist
# Set up tool versions
- uses: actions/setup-node@v3
with:
Expand Down

0 comments on commit a5772db

Please sign in to comment.