-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add GitHub Action job to run MATLAB tests #917
Conversation
Test fail with error:
Probably related to ami-iit/cmake-nightly-testing-runner#3 . |
The problem should be fixed by 2de9e46 . |
A minor issue is:
|
For some reason, no MATLAB tests are actually run. |
Apparently the reason is that we never updated MOxUnit for compatibility with MATLAB >= 2016, see MOxUnit/MOxUnit#42 . |
Updating MOxUnit and updating the boilerplate of the test fixed the issue indeed. |
In particular, the version from MOxUnit/MOxUnit@91b9cae was imported
cbfdf5e
to
c722687
Compare
Now the tests fail with:
The good old robotology/robotology-superbuild#64 . |
This was solved by setting the env variable |
7070d8c
to
b5af25d
Compare
Apparently this was already documented in #393, but I never worked on it. |
This problem will be tracked in https://gitlab.kitware.com/cmake/cmake/-/issues/22646 . |
.github/workflows/matlab.yml
Outdated
echo 'LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libstdc++.so.6' >> $GITHUB_ENV | ||
|
||
- name: Dependencies | ||
shell: bash -l {0} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To avoid specifying that each shell is login you can set a default shell.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done in 695d813 .
Fix #872 .
Fix #393 .
This is done by: