Skip to content

Commit

Permalink
workflows: use macos-14 runner.
Browse files Browse the repository at this point in the history
- Use `macos-14` instead of `macos-13` most of the time.
- For `tests` and `test default formula` builds: run on both
  macOS 13 x86_64 and macOS 14 arm64
  • Loading branch information
MikeMcQuaid committed Feb 3, 2024
1 parent 926dcda commit cf5fcbb
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/sorbet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ permissions:
jobs:
tapioca:
if: github.repository == 'Homebrew/brew'
runs-on: macos-13
runs-on: macos-14

Check failure on line 24 in .github/workflows/sorbet.yml

View workflow job for this annotation

GitHub Actions / workflow_syntax

label "macos-14" is unknown. available labels are "windows-latest", "windows-2022", "windows-2019", "windows-2016", "ubuntu-latest", "ubuntu-22.04", "ubuntu-20.04", "ubuntu-18.04", "macos-latest", "macos-latest-xl", "macos-latest-xlarge", "macos-latest-large", "macos-13-xl", "macos-13-xlarge", "macos-13-large", "macos-13", "macos-13.0", "macos-12-xl", "macos-12-xlarge", "macos-12-large", "macos-12", "macos-12.0", "macos-11", "macos-11.0", "macos-10.15", "self-hosted", "x64", "arm", "arm64", "linux", "macos", "windows". if it is a custom label for self-hosted runner, set list of labels in actionlint.yaml config file
steps:
- name: Set up Homebrew
id: set-up-homebrew
Expand Down
15 changes: 11 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ jobs:
name: cask audit
needs: syntax
if: github.repository_owner == 'Homebrew'
runs-on: macos-13
runs-on: macos-14

Check failure on line 168 in .github/workflows/tests.yml

View workflow job for this annotation

GitHub Actions / workflow_syntax

label "macos-14" is unknown. available labels are "windows-latest", "windows-2022", "windows-2019", "windows-2016", "ubuntu-latest", "ubuntu-22.04", "ubuntu-20.04", "ubuntu-18.04", "macos-latest", "macos-latest-xl", "macos-latest-xlarge", "macos-latest-large", "macos-13-xl", "macos-13-xlarge", "macos-13-large", "macos-13", "macos-13.0", "macos-12-xl", "macos-12-xlarge", "macos-12-large", "macos-12", "macos-12.0", "macos-11", "macos-11.0", "macos-10.15", "self-hosted", "x64", "arm", "arm64", "linux", "macos", "windows". if it is a custom label for self-hosted runner, set list of labels in actionlint.yaml config file
steps:
- name: Set up Homebrew
id: set-up-homebrew
Expand Down Expand Up @@ -270,7 +270,7 @@ jobs:
- name: update-test (Ubuntu 22.04)
runs-on: ubuntu-22.04
- name: update-test (macOS 13)
runs-on: macos-13
runs-on: macos-14

Check failure on line 273 in .github/workflows/tests.yml

View workflow job for this annotation

GitHub Actions / workflow_syntax

label "macos-14" is unknown. available labels are "windows-latest", "windows-2022", "windows-2019", "windows-2016", "ubuntu-latest", "ubuntu-22.04", "ubuntu-20.04", "ubuntu-18.04", "macos-latest", "macos-latest-xl", "macos-latest-xlarge", "macos-latest-large", "macos-13-xl", "macos-13-xlarge", "macos-13-large", "macos-13", "macos-13.0", "macos-12-xl", "macos-12-xlarge", "macos-12-large", "macos-12", "macos-12.0", "macos-11", "macos-11.0", "macos-10.15", "self-hosted", "x64", "arm", "arm64", "linux", "macos", "windows". if it is a custom label for self-hosted runner, set list of labels in actionlint.yaml config file
steps:
- name: Set up Homebrew
id: set-up-homebrew
Expand Down Expand Up @@ -305,9 +305,12 @@ jobs:
- name: tests (Ubuntu 20.04)
test-flags: --coverage
runs-on: ubuntu-20.04
- name: tests (macOS 13)
- name: tests (macOS 13 x86_64)
test-flags: --coverage
runs-on: macos-13
- name: tests (macOS 14 arm64)
test-flags: --coverage
runs-on: macos-14

Check failure on line 313 in .github/workflows/tests.yml

View workflow job for this annotation

GitHub Actions / workflow_syntax

label "macos-14" is unknown. available labels are "windows-latest", "windows-2022", "windows-2019", "windows-2016", "ubuntu-latest", "ubuntu-22.04", "ubuntu-20.04", "ubuntu-18.04", "macos-latest", "macos-latest-xl", "macos-latest-xlarge", "macos-latest-large", "macos-13-xl", "macos-13-xlarge", "macos-13-large", "macos-13", "macos-13.0", "macos-12-xl", "macos-12-xlarge", "macos-12-large", "macos-12", "macos-12.0", "macos-11", "macos-11.0", "macos-10.15", "self-hosted", "x64", "arm", "arm64", "linux", "macos", "windows". if it is a custom label for self-hosted runner, set list of labels in actionlint.yaml config file
steps:
- name: Set up Homebrew
id: set-up-homebrew
Expand Down Expand Up @@ -406,8 +409,10 @@ jobs:
runs-on: ubuntu-22.04
- name: test default formula (Ubuntu 20.04)
runs-on: ubuntu-20.04
- name: test default formula (macOS 13)
- name: test default formula (macOS 13 x86_64)
runs-on: macos-13
- name: test default formula (macOS 14 arm64)
runs-on: macos-14

Check failure on line 415 in .github/workflows/tests.yml

View workflow job for this annotation

GitHub Actions / workflow_syntax

label "macos-14" is unknown. available labels are "windows-latest", "windows-2022", "windows-2019", "windows-2016", "ubuntu-latest", "ubuntu-22.04", "ubuntu-20.04", "ubuntu-18.04", "macos-latest", "macos-latest-xl", "macos-latest-xlarge", "macos-latest-large", "macos-13-xl", "macos-13-xlarge", "macos-13-large", "macos-13", "macos-13.0", "macos-12-xl", "macos-12-xlarge", "macos-12-large", "macos-12", "macos-12.0", "macos-11", "macos-11.0", "macos-10.15", "self-hosted", "x64", "arm", "arm64", "linux", "macos", "windows". if it is a custom label for self-hosted runner, set list of labels in actionlint.yaml config file
steps:
- name: Set up Homebrew
id: set-up-homebrew
Expand All @@ -419,6 +424,8 @@ jobs:

- run: brew test-bot --only-cleanup-before

- run: brew cleanup --prune-prefix

- run: brew test-bot --only-setup

- run: brew install gnu-tar
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/vendor-gems.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
contains(github.event.pull_request.title, '/Library/Homebrew')
)
)
runs-on: macos-13
runs-on: macos-14

Check failure on line 35 in .github/workflows/vendor-gems.yml

View workflow job for this annotation

GitHub Actions / workflow_syntax

label "macos-14" is unknown. available labels are "windows-latest", "windows-2022", "windows-2019", "windows-2016", "ubuntu-latest", "ubuntu-22.04", "ubuntu-20.04", "ubuntu-18.04", "macos-latest", "macos-latest-xl", "macos-latest-xlarge", "macos-latest-large", "macos-13-xl", "macos-13-xlarge", "macos-13-large", "macos-13", "macos-13.0", "macos-12-xl", "macos-12-xlarge", "macos-12-large", "macos-12", "macos-12.0", "macos-11", "macos-11.0", "macos-10.15", "self-hosted", "x64", "arm", "arm64", "linux", "macos", "windows". if it is a custom label for self-hosted runner, set list of labels in actionlint.yaml config file
steps:
- name: Set up Homebrew
id: set-up-homebrew
Expand Down

0 comments on commit cf5fcbb

Please sign in to comment.