mirror of
https://github.com/anoma/juvix.git
synced 2025-01-07 16:22:14 +03:00
a5623c54ae
This PR addresses a caching issue in our CI by streamlining each operating system's build and test processes, reducing CI time. 🤞 Also, our caching strategy has been updated with the new restore/save actions. For example, we aim to cache the .stack folder, and if the stack build is successful, the .stack-build. The building documentation job continues depending on the Linux build. Upon merging this PR, we get back to the point where the CI maintain a cache for each OS to be shared among all PRs, significantly reducing CI testing time. The expected scenario is as follows. The CI can take, on average, 35' in Linux to build and test everything. Using caching, that time is reduced to less than 10'. macOS is a different story. It can easily take one hour, and even more, the first time to build and test the project. After that, it might take an average of 20'. - Caching strategies [descriptions](https://github.com/actions/cache/blob/main/caching-strategies.md#saving-cache-even-if-the-build-fails) - Closes #1776 |
||
---|---|---|
.. | ||
ISSUE_TEMPLATE | ||
PULL_REQUEST_TEMPLATE | ||
workflows |