Skip to content

Add cache to workflow - #2

Merged
RCasatta merged 1 commit into
RCasatta:masterfrom
notmandatory:cache_exe
May 26, 2021
Merged

RCasatta merged 1 commit into
RCasatta:masterfrom
notmandatory:cache_exe

Conversation

@notmandatory

Copy link
Copy Markdown
Contributor

Added caching to .github/workflows/cont_integration.yml which speeds up the build from ~15 mins to ~30 seconds by reading electrs (and bitcoind) from cache.

I think if we do the same sort of caching we can incorporate this into our bdk CI instead of using docker.

@RCasatta RCasatta left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A little pedantic review, but I would love fewer/clearer steps especially considering to use this in bdk

Comment thread .github/workflows/cont_integration.yml Resolved
Comment thread .github/workflows/cont_integration.yml Resolved
Comment thread .github/workflows/cont_integration.yml Resolved
@notmandatory
notmandatory force-pushed the cache_exe branch 2 times, most recently from 683ab58 to ec4e479 Compare May 26, 2021 16:18
@notmandatory

Copy link
Copy Markdown
Contributor Author

Re-based and ready to go. With the matrix it take a little longer on the second run (after exe's are cached) but still only ~1m, maybe less when runners are available and jobs can go in parallel.

@RCasatta
RCasatta merged commit 4d81410 into RCasatta:master May 26, 2021
@notmandatory
notmandatory deleted the cache_exe branch May 26, 2021 21:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants