Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update macOS unit tests to use latest macOS #1097

Merged
merged 1 commit into from
Nov 4, 2024

Conversation

dannycjones
Copy link
Contributor

Description of change

This change updates the CI to use the latest version of macOS available on GitHub runners (currently macOS 15), updating from macOS 12.

We are seeing GitHub CI failing in some cases. We wanted to update version anyway, and I suspect the issues we are seeing is due to the deprecation (maybe).

I update to latest since we don't strictly support macOS, so just checking that unit tests pass on the latest version is enough for us.

Relevant issues:

Does this change impact existing behavior?

CI change only. No behavior change.

Does this change need a changelog entry in any of the crates?

No.


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and I agree to the terms of the Developer Certificate of Origin (DCO).

Signed-off-by: Daniel Carl Jones <djonesoa@amazon.com>
@dannycjones dannycjones added this pull request to the merge queue Nov 4, 2024
Merged via the queue into awslabs:main with commit 98f7536 Nov 4, 2024
23 checks passed
@dannycjones dannycjones deleted the update-macos-ci branch November 4, 2024 16:19
github-merge-queue bot pushed a commit that referenced this pull request Nov 7, 2024
<!--
The title and description of pull requests will be used when creating a
squash commit to the base branch (usually `main`).
Please keep them both up-to-date as the code change evolves, to ensure
that the commit message is useful for future readers.
-->

## Description of change

This change adds the architecture of the runner to the cache key. In a
previous change where we upgraded macOS runners from macOS 12 to macOS
15, the architecture changed however the cache was not invalidated.

Likely we should find a way to key the cache on the actual operating
system version used however there doesn't seem to be an obvious way to
do that right now. This quick fix should at least protect us from
architecture changes (which macOS runners do have, but I understand its
only for larger runners at this time).

Relevant issues: #1097

## Does this change impact existing behavior?

No, only CI change.

## Does this change need a changelog entry in any of the crates?

No, only CI change.

---

By submitting this pull request, I confirm that my contribution is made
under the terms of the Apache 2.0 license and I agree to the terms of
the [Developer Certificate of Origin
(DCO)](https://developercertificate.org/).

Signed-off-by: Daniel Carl Jones <djonesoa@amazon.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants