osqp / osqp-matlab

Matlab interface for OSQP
https://osqp.org/
Apache License 2.0
42 stars 25 forks source link

Add GitHub workflow to test MATLAB interface #40

Closed imciner2 closed 3 years ago

imciner2 commented 3 years ago

I discovered that MathWorks provides Matlab on shared GitHub runners, and even has written some actions that make running Matlab tests very easy. This is currently just a simple test on Linux only, but I am going to work on expanding it to Windows and macOS too hopefully (since I believe there are Matlab runners for those as well.

imciner2 commented 3 years ago

Well, I tried on Windows and macOS, and it turns out they don't support those on the GitHub shared runners apparently (or at least that pre-defined action will error out on those two platforms and say to use ubuntu-latest). So it looks like we are constrained to run only on Linux for now.

imciner2 commented 3 years ago

Ok, I think this is good to go now. I pushed the same branch to this repo directly to test it and it ran the checks perfectly fine on that push command, so hopefully now once we merge this into master it will run on all future PRs as well.

bstellato commented 3 years ago

That's great. At least we get some CI running for Linux. It would be great to automate the package creation and the other platforms as well. I am sure it will happen at some point.