Skip to content

Commit

Permalink
Switch to Windows copy command in build.yml
Browse files Browse the repository at this point in the history
Replaced the `cp` command with the `copy` command in `build.yml` to ensure compatibility with Windows environments. This change ensures the `libmexlibczi.dll` file is correctly copied to the `%GITHUB_WORKSPACE%\OctaveMex` directory.
  • Loading branch information
ptahmose committed Oct 18, 2024
1 parent aa9ba49 commit c8aed2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ jobs:
set "GITHUB_WORKSPACE_FORWARD_SLASHES=%GITHUB_WORKSPACE:\=/%
"%OCTAVECLI_LINK%" --eval "cd %GITHUB_WORKSPACE_FORWARD_SLASHES%/OctaveMex , mkoctfile --mex octavelibczi.c"
REM now, copy the libmexlibczi.dll to this folder
cp build/MEXlibCZI/Release/libmexlibczi.dll %GITHUB_WORKSPACE%\OctaveMex
copy build/libmexlibczi/Release/libmexlibczi.dll %GITHUB_WORKSPACE%\OctaveMex
dir %GITHUB_WORKSPACE%\OctaveMex
- name: build Octave mex-file (Linux)
if: runner.os == 'Linux'
Expand Down

0 comments on commit c8aed2e

Please sign in to comment.