Github Actions is deprecating Ubuntu 22.04, which is currently needed to use MEX with Matlab of any release.
Trying to use Ubuntu 24.04 image results in failures like:
Error occurred in TestMex/test_cpp_array and it did not run to completion.
---------
Error ID:
---------
'MATLAB:mex:ErrInvalidMEXFile'
--------------
Error Details:
--------------
Invalid MEX-file
'/home/runner/work/matlab-buildtool-mex/matlab-buildtool-mex/mex/arrayProduct.mexa64':
/opt/hostedtoolcache/MATLAB/2026.1.999/x64/bin/glnxa64/../../sys/os/glnxa64/libstdc++.so.6:
version `GLIBCXX_3.4.32' not found (required by
/home/runner/work/matlab-buildtool-mex/matlab-buildtool-mex/mex/arrayProduct.mexa64)
Error in TestMex/test_cpp_array (line 25)
x = arrayProduct(2, a);
Whereas this worked with Ubuntu 22.04 example.
Ref: #115
Github Actions is deprecating Ubuntu 22.04, which is currently needed to use MEX with Matlab of any release.
Trying to use Ubuntu 24.04 image results in failures like:
Whereas this worked with Ubuntu 22.04 example.
Ref: #115