Skip to content

Commit

Permalink
Try rewriting build script in terms of CMD commands.
Browse files Browse the repository at this point in the history
  • Loading branch information
kevingurney committed Nov 21, 2023
1 parent 43808d7 commit a928cc1
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/matlab.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,15 @@ jobs:
restore-keys: matlab-ccache-windows-
- name: Build MATLAB Interface
shell: cmd
run:
ci/scripts/matlab_build.sh $(pwd)
run: |
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x64
cmake \
-S . \
-B .\matlab\build \
-G Ninja \
-D CMAKE_INSTALL_PREFIX=.\matlab\install \
-D MATLAB_ADD_INSTALL_DIR_TO_SEARCH_PATH=OFF
cmake --build .\matlab\build --config Release --target install
- name: Run MATLAB Tests
env:
# Add the installation directory to the MATLAB Search Path by
Expand Down

0 comments on commit a928cc1

Please sign in to comment.