-
Notifications
You must be signed in to change notification settings - Fork 4.3k
GH-51335: [CI] Update Matlab actions and fix Matlab Windows failure #51378
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -58,7 +58,7 @@ jobs: | |||||||||
| - name: Install ninja-build | ||||||||||
| run: sudo apt-get install ninja-build | ||||||||||
| - name: Install MATLAB | ||||||||||
| uses: matlab-actions/setup-matlab@a0180c939fb1a28de13f44f7b778b912384ced1f # v3.0.1 | ||||||||||
| uses: matlab-actions/setup-matlab@f9e43010f1ae678f7cfa0542fe2a4f60f7d1ad8d # v3.1.0 | ||||||||||
| with: | ||||||||||
| release: R2025b | ||||||||||
| - name: Install ccache | ||||||||||
|
|
@@ -74,7 +74,7 @@ jobs: | |||||||||
| uses: actions/cache@v6 | ||||||||||
| with: | ||||||||||
| path: ${{ steps.ccache-info.outputs.cache-dir }} | ||||||||||
| key: matlab-ccache-ubuntu-${{ hashFiles('cpp/**', 'matlab/**') }} | ||||||||||
| key: matlab-ccache-ubuntu-${{ hashFiles('cpp/**', 'matlab/**', '!matlab/build/**') }} | ||||||||||
| restore-keys: matlab-ccache-ubuntu- | ||||||||||
| - name: Build MATLAB Interface | ||||||||||
| run: ci/scripts/matlab_build.sh $(pwd) | ||||||||||
|
|
@@ -83,7 +83,7 @@ jobs: | |||||||||
| # Add the installation directory to the MATLAB Search Path by | ||||||||||
| # setting the MATLABPATH environment variable. | ||||||||||
| MATLABPATH: matlab/install/arrow_matlab | ||||||||||
| uses: matlab-actions/run-tests@ae0e80cb44fdec28d35d0831d8acf38ee4fdf91a # v3.2.0 | ||||||||||
| uses: matlab-actions/run-tests@214a16e600ef2c705a4b2dd6c0794dc6957682a9 # v3.3.0 | ||||||||||
| with: | ||||||||||
| select-by-folder: matlab/test | ||||||||||
| strict: true | ||||||||||
|
|
@@ -107,7 +107,7 @@ jobs: | |||||||||
| - name: Install ninja-build | ||||||||||
| run: brew install ninja | ||||||||||
| - name: Install MATLAB | ||||||||||
| uses: matlab-actions/setup-matlab@a0180c939fb1a28de13f44f7b778b912384ced1f # v3.0.1 | ||||||||||
| uses: matlab-actions/setup-matlab@f9e43010f1ae678f7cfa0542fe2a4f60f7d1ad8d # v3.1.0 | ||||||||||
| with: | ||||||||||
| release: R2025b | ||||||||||
| - name: Install ccache | ||||||||||
|
|
@@ -123,7 +123,7 @@ jobs: | |||||||||
| uses: actions/cache@v6 | ||||||||||
| with: | ||||||||||
| path: ${{ steps.ccache-info.outputs.cache-dir }} | ||||||||||
| key: matlab-ccache-macos-${{ hashFiles('cpp/**', 'matlab/**') }} | ||||||||||
| key: matlab-ccache-macos-${{ hashFiles('cpp/**', 'matlab/**', '!matlab/build/**') }} | ||||||||||
| restore-keys: matlab-ccache-macos- | ||||||||||
| - name: Build MATLAB Interface | ||||||||||
| run: ci/scripts/matlab_build.sh $(pwd) | ||||||||||
|
|
@@ -132,7 +132,7 @@ jobs: | |||||||||
| # Add the installation directory to the MATLAB Search Path by | ||||||||||
| # setting the MATLABPATH environment variable. | ||||||||||
| MATLABPATH: matlab/install/arrow_matlab | ||||||||||
| uses: matlab-actions/run-tests@ae0e80cb44fdec28d35d0831d8acf38ee4fdf91a # v3.2.0 | ||||||||||
| uses: matlab-actions/run-tests@214a16e600ef2c705a4b2dd6c0794dc6957682a9 # v3.3.0 | ||||||||||
| with: | ||||||||||
| select-by-folder: matlab/test | ||||||||||
| strict: true | ||||||||||
|
|
@@ -147,7 +147,7 @@ jobs: | |||||||||
| persist-credentials: false | ||||||||||
| fetch-depth: 0 | ||||||||||
| - name: Install MATLAB | ||||||||||
| uses: matlab-actions/setup-matlab@a0180c939fb1a28de13f44f7b778b912384ced1f # v3.0.1 | ||||||||||
| uses: matlab-actions/setup-matlab@f9e43010f1ae678f7cfa0542fe2a4f60f7d1ad8d # v3.1.0 | ||||||||||
| with: | ||||||||||
| release: R2025b | ||||||||||
| - name: Install ccache | ||||||||||
|
|
@@ -165,7 +165,7 @@ jobs: | |||||||||
| with: | ||||||||||
| path: | | ||||||||||
| ${{ steps.ccache-info.outputs.cache-dir }} | ||||||||||
| key: matlab-ccache-windows-${{ hashFiles('cpp/**', 'matlab/**') }} | ||||||||||
| key: matlab-ccache-windows-${{ hashFiles('cpp/**', 'matlab/**', '!matlab/build/**') }} | ||||||||||
| restore-keys: matlab-ccache-windows- | ||||||||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ccache hashFiles seems to fails because it can't resolve a symbolic link on windows. Perhaps this is out of scope here and can be a separate PR, up to you @raulcd.
Suggested change
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It feels like a different thing than what I was trying to do with this PR (just bump some actions and fix the Windows CI failures). I think we can do it but I just want to fix CI at this point.
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I've opened the following issue to track it in case we want to do that:
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yeah, let's merge this to fix the CI and change caching in another PR. |
||||||||||
| - name: Build MATLAB Interface | ||||||||||
| shell: cmd | ||||||||||
|
|
@@ -177,7 +177,7 @@ jobs: | |||||||||
| # Add the installation directory to the MATLAB Search Path by | ||||||||||
| # setting the MATLABPATH environment variable. | ||||||||||
| MATLABPATH: matlab/install/arrow_matlab | ||||||||||
| uses: matlab-actions/run-tests@ae0e80cb44fdec28d35d0831d8acf38ee4fdf91a # v3.2.0 | ||||||||||
| uses: matlab-actions/run-tests@214a16e600ef2c705a4b2dd6c0794dc6957682a9 # v3.3.0 | ||||||||||
| with: | ||||||||||
| select-by-folder: matlab/test | ||||||||||
| strict: true | ||||||||||
Uh oh!
There was an error while loading. Please reload this page.