Skip to content

Commit

Permalink
Set also lib paths for other OS
Browse files Browse the repository at this point in the history
  • Loading branch information
sanguinariojoe committed Oct 24, 2024
1 parent 053726a commit e4e0001
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/matlab.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:
env:
BUILD_TYPE: Release
LD_LIBRARY_PATH: ${{github.workspace}}/install/lib:${{github.workspace}}/install/lib64
DYLD_LIBRARY_PATH: ${{github.workspace}}/install/lib

jobs:
test:
Expand Down Expand Up @@ -39,6 +40,13 @@ jobs:
- name: Install
run: cmake --install ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}

- name: Add the installed DLL to the PATH
uses: myci-actions/export-env-var@1
with:
name: PATH
value: $PATH:${{github.workspace}}/install/bin
if: runner.os == 'Windows'

- name: Set up MATLAB
uses: matlab-actions/setup-matlab@v2

Expand Down

0 comments on commit e4e0001

Please sign in to comment.