libprima / prima

PRIMA is a package for solving general nonlinear optimization problems without using derivatives. It provides the reference implementation for Powell's derivative-free optimization methods, i.e., COBYLA, UOBYQA, NEWUOA, BOBYQA, and LINCOA. PRIMA means Reference Implementation for Powell's methods with Modernization and Amelioration, P for Powell.
http://libprima.net
BSD 3-Clause "New" or "Revised" License
306 stars 40 forks source link

Leverage GitHub cache to improve setup-matlab time #19

Closed acampbel closed 1 year ago

acampbel commented 1 year ago

This repository is very active building MATLAB projects many times a day. Also, it is leveraging the v2-beta of the setup-matlab action. You may be interesting in caching the MATLAB installations for improved performance. Note this may use a significant portion of your cache space, but nonetheless may be worth it for this project. To see an example of a project leveraging GitHub actions cache for MATLAB look here.

zaikunzhang commented 1 year ago

Hi @acampbel ,

The availability of MATLAB on GitHub Actions is life-changing for me. Without this, the CI of the PRIMA project would not be possible. Thank you and your colleagues very much!

Thank you very much for your suggestion. Caching is a great idea! I tried caching the installation of MATLAB some time ago, but did not succeed.

After reading your message and your example, I tried it again. It works. Thank you very much!

Best regards, Zaikun