Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Caching dependencies to speed workflows #22

Open
sophia-guo opened this issue Jul 14, 2020 · 0 comments
Open

Caching dependencies to speed workflows #22

sophia-guo opened this issue Jul 14, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@sophia-guo
Copy link
Contributor

Run-aqa on windows depends on the installation of cygwin and corresponding packages installed by cygwin.

Jobs on GitHub-hosted runners start in a clean virtual environment and must download dependencies each time, causing increased network utilization, longer runtime, and increased cost. To help speed up the time it takes to recreate these files, GitHub can cache dependencies you frequently use in workflows. https://docs.github.com/en/actions/configuring-and-managing-workflows/caching-dependencies-to-speed-up-workflows

We'd like to use the caching to preinstall cygwin and corresponding packages required. Howevereach packages will be installed in specified directory. When using the caching first specified directory is tar-ed and restore the cached files to the path you configure. That is the linking setup when install the packages cann't be relinked and installed package which is in the different path from cygwin will not be restored.

If the dependencies will be installed to specified path using caching may help. If dependencies will be installed scattered in different path caching may not help.

@karianna karianna added the enhancement New feature or request label Jul 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants