Skip to content

Conversation

@jamillambert
Copy link
Collaborator

@jamillambert jamillambert commented Jan 8, 2026

Cache bitcoind so that it is not downloaded every CI run.

  • Change the integration CI job matrix to be the version only and move the ,download to the run command since the , causes an issue when used in the cache key.
  • Set BITCOIND_SKIP_DOWNLOAD to 1 for docs, docsrs and lint so that bitcoind is not downloaded when it is not needed. Since these jobs are run with a feature matrix that included download.
  • Apply the changes suggested by clippy to clear the lint errors.
  • Cache the bitcoind binary between CI runs, keyed on OS, arch and version.

@github-actions github-actions bot added the C-node label Jan 8, 2026
Having `,download` in the feature list causes an issue when trying to
cache the downloads because of the comma.

Move the `,download` feature to the `cargo test` command instead of the
matrix feature list.
@jamillambert jamillambert force-pushed the 0108-cache-bitcoind branch 2 times, most recently from 3dbdf8f to 26cf558 Compare January 8, 2026 16:38
Apply the changes suggested by clippy to remove the lint errors.
Cache the bitcoind binary between CI runs, keyed on OS, arch and
version.
Copy link
Member

@tcharding tcharding left a comment

Choose a reason for hiding this comment

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

ACK 3cc51e2

@tcharding
Copy link
Member

Legend.

@tcharding tcharding merged commit 6820265 into rust-bitcoin:master Jan 9, 2026
30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants