Skip to content

Commit

Permalink
ci: Migrate Firefox from macos-13 to macos-latest (#6853)
Browse files Browse the repository at this point in the history
Using arm (macos-latest) wherever possible reduces build times by 3
minutes.

We have a limited number of macos runners, so if we save time even on
Firefox alone (all we can do pending #6508), we can speed up the queue
of pending jobs across PRs.
  • Loading branch information
avelad committed Jun 19, 2024
1 parent b8fb013 commit 14d31ce
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/build-and-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,12 @@ jobs:
# this is reverted.
- os: macos-13
browser: Chrome
- os: macos-13
browser: Firefox
- os: macos-13
browser: Edge

- os: macos-latest
browser: Firefox

- os: macos-latest
browser: Safari
- os: macos-latest
Expand Down Expand Up @@ -133,7 +134,7 @@ jobs:

# Firefox and Edge might be missing on Mac CI images.
- name: 'Install Firefox on Mac'
if: matrix.os == 'macos-13' && matrix.browser == 'Firefox'
if: matrix.os == 'macos-latest' && matrix.browser == 'Firefox'
run: brew install --cask firefox
- name: 'Install Edge on Mac'
if: matrix.os == 'macos-13' && matrix.browser == 'Edge'
Expand Down

0 comments on commit 14d31ce

Please sign in to comment.