-
Notifications
You must be signed in to change notification settings - Fork 15
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
Re-use conan cache for built dependencies #187
Conversation
1c92b5c
to
16e874e
Compare
.github/workflows/tests.yml
Outdated
@@ -37,8 +37,50 @@ jobs: | |||
- name: "Check C/C++ formatting changes" | |||
run: git diff --exit-code | |||
|
|||
conan-cache: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See question on #182 re. how large this cache will be and GHA limit on cache size.
@csegarragonz This needs updating to the different cache key generation as now present in #182 to fix the broken hashFiles call |
ade7cc1
to
257261d
Compare
257261d
to
9955c9c
Compare
Looks like examples need a separate cache key, as they are building in release mode rather than debug like the other tests. |
6ddc570
to
3443f01
Compare
e741fda
to
801ba27
Compare
801ba27
to
a62f553
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only a small change needed re. release cache keys, otherwise lgtm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, LGTM 👍
I cherry pick this change from #182, and faasm/faasm#542.
Upon cache hit the tests workflow file runs in under 7'.