Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 10 additions & 3 deletions .github/workflows/matlab.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/CMakeLists.txt', 'matlab/src/**', 'matlab/test/**', 'matlab/tools/**') }}
restore-keys: matlab-ccache-ubuntu-
- name: Build MATLAB Interface
run: ci/scripts/matlab_build.sh $(pwd)
Expand Down Expand Up @@ -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/CMakeLists.txt', 'matlab/src/**', 'matlab/test/**', 'matlab/tools/**') }}
restore-keys: matlab-ccache-macos-
- name: Build MATLAB Interface
run: ci/scripts/matlab_build.sh $(pwd)
Expand Down Expand Up @@ -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/CMakeLists.txt', 'matlab/src/**', 'matlab/test/**', 'matlab/tools/**') }}
restore-keys: matlab-ccache-windows-
- name: Build MATLAB Interface
shell: cmd
Expand All @@ -181,3 +181,10 @@ jobs:
with:
select-by-folder: matlab/test
strict: true
- name: Clean up compiler processes and build directory
Comment thread
Diveyam-Mishra marked this conversation as resolved.
if: always()
shell: cmd
run: |
taskkill /F /IM mspdbsrv.exe /IM vctip.exe 2>nul || exit 0
if exist matlab\build rmdir /s /q matlab\build 2>nul || exit 0

Loading