-
Notifications
You must be signed in to change notification settings - Fork 14
Description
this seems to be a recent regression on setup-matlab (although I can't exclude the possibility that something in my script that has caused this, or github's windows-2019 runner).
previously, my github action script can build a mex file on windows without any issue using mingw64 g++ (by defining MW_MINGW64_LOC), see a successful build on Oct 7 (expand the section Build mcxlabcl for MATLAB)
https://github.com/fangq/mcxcl/actions/runs/6443229681/job/17494922687
however, I just made some changes in my C code without touching the github action script, mex failed with the following error:
Supported compiler not detected. You can install the freely available MinGW-w64 C/C++ compiler; visit https://www.mathworks.com/matlabcentral/fileexchange/52848-matlab-support-for-mingw-w64-c-c-compiler. For more options, visit https://www.mathworks.com/support/compilers.
switching matlab from latest to R2022a did not solve this problem
https://github.com/fangq/mcxcl/actions/runs/6684861633/job/18162546536 (using latest)
https://github.com/fangq/mcxcl/actions/runs/6684966422/job/18162772877 (using R2022a)
from the log, you can see MW_MINGW64_LOC was defined the same way as it was before.
I am not sure if this is caused by github runner image changes, or this is related to matlab changes.
Please let me know if have any suggestions.