Skip to content

[CI][MATLAB] MATLAB macOS CI workflow fails because of macos-latest change to macos-14 #41370

@kou

Description

@kou

Describe the bug, including details regarding any error messages, version, and platform.

macos-latest is now macos-14 not macos-12.

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).

See also: https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners#standard-github-hosted-runners-for-public-repositories

Example:

https://github.com/apache/arrow/actions/runs/8819911040/job/24212270905?pr=41359#step:9:28

CMake Error at /opt/homebrew/Cellar/cmake/3.29.2/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
-- Configuring incomplete, errors occurred!
  Could NOT find Matlab (missing: Matlab_MEX_LIBRARY Matlab_MX_LIBRARY)
  (found version "9.14.0.2489007")
Call Stack (most recent call first):
  /opt/homebrew/Cellar/cmake/3.29.2/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
  /opt/homebrew/Cellar/cmake/3.29.2/share/cmake/Modules/FindMatlab.cmake:2029 (find_package_handle_standard_args)
  CMakeLists.txt:135 (find_package)

Component(s)

Continuous Integration, MATLAB

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions