Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
Improve Octave mex file compilation in build.yml

Convert workspace path to forward slashes for Octave command.
Add echo statement for debugging the command execution.
Retain dir command to list OctaveOct directory contents.
MATLAB setup and Linux build steps remain unchanged.
  • Loading branch information
ptahmose committed Oct 15, 2024
1 parent 6ec360f commit 948a9d8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,10 @@ jobs:
REM downside is that installing octave takes a long time.
REM Note that we are using cmd.exe here, because it can "execute" the .lnk file.
"%OCTAVECLI_LINK%" --version
"%OCTAVECLI_LINK%" --eval "cd %GITHUB_WORKSPACE%\OctaveOct , mkoctfile --mex octavelibczi.c"
echo "cd %GITHUB_WORKSPACE%/OctaveOct , mkoctfile --mex octavelibczi.c"
set "GITHUB_WORKSPACE_FORWARD_SLASHES=%GITHUB_WORKSPACE:\=/%
"%OCTAVECLI_LINK%" --eval "cd %GITHUB_WORKSPACE_FORWARD_SLASHES%/OctaveOct , mkoctfile --mex octavelibczi.c"
dir %GITHUB_WORKSPACE%\OctaveOct
- name: Set up MATLAB
uses: matlab-actions/setup-matlab@v2
- name: run build (Linux)
Expand Down

0 comments on commit 948a9d8

Please sign in to comment.