Skip to content

Commit

Permalink
ci: Use macos-latest
Browse files Browse the repository at this point in the history
In #11155, we pinned CI to macos-11
because we want to continue to support macOS 11.

This, however hsa created a new issue:
grpcio does not publish wheels for macos-11 anymore
and building it from source takes long enough to kill our CI
(see #12054 #12050).

To fix the issue while continuing to support older macOS,
run CI on macos-latest, but leave build jobs and friends on macos-11.

Resolves #12054, #12050
  • Loading branch information
abhinav committed Feb 3, 2023
1 parent 486b364 commit 4955f3d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Expand Up @@ -37,7 +37,7 @@ on:
type: string
acceptance-test-platforms:
required: false
default: windows-latest macos-11
default: windows-latest macos-latest
description: Platforms on which to run integration tests, as a space delimited list
type: string
enable-coverage:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/on-pr.yml
Expand Up @@ -69,7 +69,7 @@ jobs:
acceptance-test-platforms: >- # No newlines or trailing newline.
${{
contains(github.event.pull_request.labels.*.name, 'ci/test')
&& 'macos-11 windows-latest'
&& 'macos-latest windows-latest'
|| ''
}}
enable-coverage: true
Expand Down
2 changes: 1 addition & 1 deletion scripts/get-job-matrix.py
Expand Up @@ -88,7 +88,7 @@ class MakefileTest(TypedDict):
{"name": "sdk/nodejs sxs_tests", "run": "cd sdk/nodejs && ../../scripts/retry make sxs_tests", "eta": 3},
]

ALL_PLATFORMS = ["ubuntu-latest", "windows-latest", "macos-11"]
ALL_PLATFORMS = ["ubuntu-latest", "windows-latest", "macos-latest"]


MINIMUM_SUPPORTED_VERSION_SET = {
Expand Down

0 comments on commit 4955f3d

Please sign in to comment.