Add github cache actions for build dependencies #614
Labels
build/environment
Categorizes an issue or PR relevant to the build environment.
good first issue
Denotes an issue ready for a new contributor
kind/wish
Categorizes issue or PR as a wish.
Add github cache actions for build dependencies
Add github cache actions to speed up build and possible test times when pushing changes to Apache Celix.
Background
Source: https://docs.github.com/en/actions/using-workflows/caching-dependencies-to-speed-up-workflows
Implementation hints
Try to add cache actions for the following build results:
apt install
in the Linux ubuntu builds (https://github.com/apache/celix/blob/master/.github/workflows/ubuntu.yml), this is for the "Configure and install dependencies" stepbrew install
in the masos builds (https://github.com/apache/celix/blob/master/.github/workflows/macos.yml), this is for the "Install dependencies" step-Done in Feature/614 GitHub cache for Conan and ccach #628conan install
in the Linux ubuntu and coverage builds (https://github.com/apache/celix/blob/master/.github/workflows/ubuntu.yml and https://github.com/apache/celix/blob/master/.github/workflows/coverage.yml), this is for the "Configure and install dependencies" step.Maybe there is already some existing actions for this and if not try to store and recover the apt, brew and conan cache dirs.
The text was updated successfully, but these errors were encountered: