sreeharihegden opened a new pull request #12342: URL: https://github.com/apache/arrow/pull/12342
## Overview This Pull Request: - Enables building of the MATLAB Interface C++ code, running of the C++ tests, and running of the MATLAB tests using GitHub Actions on a `macos-latest` VM. - This is also updating the old version `v0` of [`matlab-actions/setup-matlab`](https://github.com/matlab-actions/setup-matlab) enabled for `ubuntu-latest` VM to the lastest `v1` [`matlab-actions/setup-matlab`](https://github.com/matlab-actions/setup-matlab). ## Implementation This implementation uses [`matlab-actions`](https://github.com/matlab-actions) to automatically install MATLAB into a GitHub Actions Linux and Mac VM. We are using the most updated version: `v1` [`matlab-actions/setup-matlab`](https://github.com/matlab-actions/setup-matlab) to enable the CI for Mac. Here are the steps we require to build and run tests on Mac: - Check out the repository - Install ninja using the `brew` command - Install MATLAB using [`matlab-actions/setup-matlab@v1`](https://github.com/matlab-actions/setup-matlab) - Build MATLAB using the existing `matlab_build.sh` script in `ci/scripts` - Set the `MATLABPATH` environment variable to the MATLAB Interface to Apache Arrow installation directory - Run MATLAB tests in the folder `matlab/test` using [`matlab-actions/run-tests@v1`](https://github.com/matlab-actions/run-tests) ## Testing 1. The GitHub Actions workflows passed successfully with no errors in this [Job](https://github.com/mathworks/arrow/actions/runs/1796808254). 2. All C++ test results and MATLAB test results can be viewed in the workflow logs. ## Future Directions Enable support for Windows: [`matlab-actions/setup-matlab@v1`](https://github.com/matlab-actions/setup-matlab) supports Windows now. We are working on enabling this for the MATLAB Arrow interface. ## Notes 1. This pull request depends on code from the pull request: #12004 and so should be accepted only after that. 2. Thank you, Fiona @lafiona for helping me with this pull request to submit the changes for `matlab.yml`. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org