Skip to content

Add macos-15 CI job#1087

Merged
ryanplusplus merged 1 commit into
mainfrom
ahans/macos-ci
Aug 20, 2025
Merged

Add macos-15 CI job#1087
ryanplusplus merged 1 commit into
mainfrom
ahans/macos-ci

Conversation

@ahans
Copy link
Copy Markdown
Contributor

@ahans ahans commented Aug 20, 2025

gcc on arm64 macOS does not support sanitizers yet, so we only build with Apple Clang there.

@ryanplusplus
Copy link
Copy Markdown
Member

On macOS gcc is usually an alias for clang -- do you know if gcc is really gcc on macOS runners?

@ahans
Copy link
Copy Markdown
Contributor Author

ahans commented Aug 20, 2025

On macOS gcc is usually an alias for clang -- do you know if gcc is really gcc on macOS runners?

You're right, it is not. For gcc there are aliases such as gcc-12, see here. So things would probably work with gcc as well, but would do the exact same thing as the clang version. That seems wasteful. Configuring this via the matrix doesn't seem to work. I think I will just add an if to skip the macOS/gcc configuration.

gcc on arm64 macOS does not support sanitizers yet, so we only build with Apple
Clang there.
@ahans ahans marked this pull request as ready for review August 20, 2025 11:44
@ahans
Copy link
Copy Markdown
Contributor Author

ahans commented Aug 20, 2025

Turns out matrix has an exclude key. I'm happy with this now.

@ryanplusplus
Copy link
Copy Markdown
Member

Thanks!

@ryanplusplus ryanplusplus merged commit ec767c3 into main Aug 20, 2025
5 checks passed
@ryanplusplus ryanplusplus deleted the ahans/macos-ci branch August 20, 2025 11:45
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