ci: Add macOS 14 (ARM64) support and fix conda ToS issues in CI workflows #974
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #975
Summary
This PR adds support for the new macOS 14 (ARM64) GitHub Actions runners and fixes conda Terms of Service issues that were causing CI failures.
Changes
1. Add macOS 14 to GitHub Actions Matrix (
ea627bd
)macos-14
to all workflow files that usematrix.os
configuration:.github/workflows/bazel.yml
.github/workflows/cmake.yml
.github/workflows/nodejs.yml
.github/workflows/python.yml
.github/workflows/release-pypi.yml
2. Fix Conda Terms of Service Issues (
a51644e
)conda tos accept
commands for required channels in all PyPI release scripts:release-pypi-linux.sh
release-pypi-macos.sh
release-pypi-windows.cmd
https://repo.anaconda.com/pkgs/main
andhttps://repo.anaconda.com/pkgs/r
channelsCondaToSNonInteractiveError
that was preventing PyPI workflows from completing3. Support ARM64 Architecture in macOS Script (
4e55f83
)release-pypi-macos.sh
to detect system architecture and download appropriate Miniconda version:Miniconda3-latest-MacOSX-arm64.sh
Miniconda3-latest-MacOSX-x86_64.sh
macos-latest
andmacos-14
runnersTesting
macos-14
runners will now work correctly with ARM64-specific MinicondaReferences
Files Changed
.github/workflows/bazel.yml
.github/workflows/cmake.yml
.github/workflows/nodejs.yml
.github/workflows/python.yml
.github/workflows/release-pypi.yml
release-pypi-linux.sh
release-pypi-macos.sh
release-pypi-windows.cmd