Open musm opened 3 years ago
We spoke to musm outside of GitHub and I just want to post our response here so others can see it if they come across this issue:
Thanks for reaching out, and thanks for your contributions to the open source community with this package! Definitely love the ability to interoperate across languages.
Unfortunately, currently the licensing for MATLAB when using these actions on GitHub-hosted runners does not support the MATLAB engine. The licensing only applies to direct MATLAB execution as part of the CI build.
However, you can leverage self-hosted runners that have MATLAB on them in order to run your CI builds for this case. I know that is more to maintain, but that is what would be needed for the time being.
Hello.
I'm maintaining the
MATLAB.jl
package which calls the MATLAB Engine APIs for C. Unfortunately, using this gh-action, I am unable to open the Matlab engine through theengOpen
method (ref: https://www.mathworks.com/help/matlab/apiref/engopen.html). For reference the current code and it's unit tests work perfectly on a fresh install of MATLAB 2021a. I'm not sure why the engine fails to open on the gh actions CI:https://github.com/JuliaInterop/MATLAB.jl/pull/189/files#diff-3ab46ee209a127470fce3c2cf106b1a1dbadbb929a4b5b13656a4bc4ce19c0b8