Skip to content

Commit

Permalink
Export the LD_LIBRARY_PATH (for at least making Linux work)
Browse files Browse the repository at this point in the history
  • Loading branch information
sanguinariojoe committed Oct 24, 2024
1 parent f568ddd commit 053726a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/matlab.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:

env:
BUILD_TYPE: Release
LD_LIBRARY_PATH: ${{github.workspace}}/install/lib:${{github.workspace}}/install/lib64

jobs:
test:
Expand Down Expand Up @@ -49,8 +50,7 @@ jobs:
cd('wrappers/matlab/');
fnames = struct2table(dir('*.cpp')).name;
for i = 1:length(fnames)
fname = cell2mat(fnames(i))
fprintf('Compiling %s...\n', fname)
fname = cell2mat(fnames(i));
mex('-v', fname, '-I./', '-I${{github.workspace}}/install/include/moordyn', '-L${{github.workspace}}/install/lib', '-L${{github.workspace}}/install/lib64', '-lmoordyn');
end
% Run the same minimal test we have on matlab_bindings.m.in
Expand Down

0 comments on commit 053726a

Please sign in to comment.