Skip to content

Commit

Permalink
apacheGH-41370: [CI][MATLAB] MATLAB macOS CI workflow fails because o…
Browse files Browse the repository at this point in the history
…f `macos-latest` change to `macos-14` (apache#41384)

### Rationale for this change

* The MATLAB macOS CI workflow is failing because of the recent change to `macos-latest` from `macos-12` to `macos-14`.
* In https://github.blog/changelog/2024-01-30-github-actions-macos-14-sonoma-is-now-available/ it is mentioned that the transition to `macos-14` was planned for April-June 2024.
* As noted in the [Platform Road Map](https://www.mathworks.com/support/requirements/platform-road-map.html), MATLAB R2023a is not officially supported with `macos-14`.
* Until we can move to building against MATLAB R2024a (latest available version of MATLAB), it makes sense to pin back the macOS version to version 14.

### What changes are included in this PR?

1. Pin back MATLAB CI workflow to use `macos-12`.
2. Pin back MATLAB crossbow packaging workflow to use `macos-12`.

### Are these changes tested?

I will run a crossbow job and ensure that the MATLAB CI workflow passes successfully before merging this PR.

### Are there any user-facing changes?

No.

### Future Directions

1.  apache#41385

### Notes

1. Thanks @ sgilmore10 for your help with this pull request!
* GitHub Issue: apache#41370

Authored-by: Kevin Gurney <[email protected]>
Signed-off-by: Kevin Gurney <[email protected]>
  • Loading branch information
kevingurney authored and rok committed May 8, 2024
1 parent 02ab390 commit a7f6ce9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/matlab.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ jobs:
strict: true
macos:
name: AMD64 macOS 12 MATLAB
runs-on: macos-latest
runs-on: macos-12
if: ${{ !contains(github.event.pull_request.title, 'WIP') }}
steps:
- name: Check out repository
Expand Down
2 changes: 1 addition & 1 deletion dev/tasks/matlab/github.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:

macos:
name: AMD64 macOS 12 MATLAB
runs-on: macos-latest
runs-on: macos-12
steps:
{{ macros.github_checkout_arrow()|indent }}
- name: Install ninja-build
Expand Down

0 comments on commit a7f6ce9

Please sign in to comment.