matlab-actions / .github

Automate your workflows with GitHub actions for MATLAB.
65 stars 2 forks source link

Coder license availability #11

Closed stauffenberg2020 closed 2 years ago

stauffenberg2020 commented 2 years ago

Hi Mathworks,

My matlab code uses MATLAB Coder Toolbox. When the Github actions are run, it says the following and the build fails.

??? CODEGEN requires a MATLAB Coder license

Can you let me know what are the toolboxes available for Github hosted runners?

Thanks

mcafaro commented 2 years ago

MATLAB Coder is not one of the products automatically licensed for public projects. To use MATLAB Coder with GitHub Actions, you must currently use a self-hosted GitHub runner where you have pre-installed and licensed MATLAB Coder.

MATLAB, Simulink, and most add-ons products are automatically licensed for batch use with public projects on GitHub-hosted runners. Products that are not automatically licensed include transformation programs such as coder and compiler products.