Skip to content

Re-write CI to use cargo-rbmt#234

Closed
tcharding wants to merge 1 commit intorust-bitcoin:masterfrom
tcharding:push-rktvkspkpnzz
Closed

Re-write CI to use cargo-rbmt#234
tcharding wants to merge 1 commit intorust-bitcoin:masterfrom
tcharding:push-rktvkspkpnzz

Conversation

@tcharding
Copy link
Copy Markdown
Member

@tcharding tcharding commented Jan 16, 2026

Re-write CI to use the cargo-rbmt tool [0]

This is quite an overhaul, some notes:

  • Adds action to install cargo-rbmt directly from the repo
  • Upgrades to checkout v5 (and uses explicit commit hash)
  • Uses ubuntu-24.04 instead of latest (I can't remember why we did this)
  • Defaults jobs to no permissions and uses read in each job
  • Gets the MSRV from manifest instead of explicitly
  • Removes the Beta toolchain test

[0] https://github.com/rust-bitcoin/rust-bitcoin-maintainer-tools/tree/master/cargo-rbmt

Re-write CI to use the `cargo-rbmt` tool [0]

This is quite an overhaul, some notes:

- Adds action to install `cargo-rbmt` directly from the repo
- Upgrades to checkout v5 (and uses explicit commit hash)
- Uses ubuntu-24.04 instead of latest (I can't remember why we did this)
- Defaults jobs to no permissions and uses read in each job
- Gets the MSRV from manifest instead of explicitly
- Removes the `Beta` toolchain test
- Introduce lock files
- Remove clippy.toml (because clippy can parse manifests now)

[0] https://github.com/rust-bitcoin/rust-bitcoin-maintainer-tools/tree/master/cargo-rbmt
@apoelstra
Copy link
Copy Markdown
Member

FYI I'm happy to review this if we can get it working.

This crate is currently pretty annoying for me to test because it doesn't have embedded lockfiles.

@tcharding
Copy link
Copy Markdown
Member Author

For me or anyone else rust-bitcoin/rust-bitcoin#5549 is the PR that introduces cargo-rbmt into rust-bitcoin.

@tcharding
Copy link
Copy Markdown
Member Author

Replaced by #254

@tcharding tcharding closed this Apr 17, 2026
apoelstra added a commit that referenced this pull request Apr 21, 2026
30686ad tests: fix cfg-gated variables/helpers in primitives tests (satsfy (Renato Britto))
6902800 build: migrate ci to cargo rbmt (satsfy (Renato Britto))

Pull request description:

  This PR migrates CI from `contrib/test.sh` to `cargo rbmt`. It continues PR #234.
  
  It also:
  - adds minimal and recent lockfiles for CI
  - declares `rust-version = "1.56.1"` in `Cargo.toml`
  - adds rbmt toolchain metadata
  - removes the old `contrib/test.sh` workflow
  - updates the workflow to use the pinned upstream `setup-rbmt` action
  - simplifies the embedded jobs into a matrix
  - drops the stale mutagen lint override
  
  No library behavior is intended to change.


ACKs for top commit:
  tcharding:
    ACK 30686ad
  apoelstra:
    ACK 30686ad; successfully ran local tests


Tree-SHA512: 3f7003b3c891d387f5bba98c2c5432d723ff1a830dec50e786ed9e86ee0cad07af4f23edf0dbbb6ae3d332898ecdb91d4f0c4e524f9085203616d4dd5e0c3a03
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