Skip to content

feat: implement static builds for Mithril nodes in CI - #2998

Merged
turmelclem merged 39 commits into
mainfrom
ctl/2989-implement-static-build-for-Mithril-nodes_in-CI
Mar 19, 2026
Merged

feat: implement static builds for Mithril nodes in CI#2998
turmelclem merged 39 commits into
mainfrom
ctl/2989-implement-static-build-for-Mithril-nodes_in-CI

Conversation

@turmelclem

@turmelclem turmelclem commented Feb 11, 2026

Copy link
Copy Markdown
Contributor

Content

This PR includes modification to statically build Mithril aggregator, signer and client in the CI in order to ship the Mithril nodes in the assets of a Cardano node release bundle in the future :

  • Use num-integer backend as default in mithril-stm library
  • Statically build aggregator, signer ans client with musl target for Linux/Debian in Github CI
  • Check Static binaries for Linux/Windows/MacOS
  • Switch to static builds for signer, aggregator and client in the Hydra CI
  • Update features:
    • CLIs with have default rustls-tls feature and throw error if there is no TLS feature provided
    • Client library does not have default feature anymore
    • Jemallocator is a default dependency except for windows and LinuxARM64 instead of a feature
    • Mimaloc is a default dependency for LinuxARM64
  • Removing mentions of glibc in documentation

Pre-submit checklist

  • Branch
    • Tests are provided (if possible)
    • Crates versions are updated (if relevant)
    • CHANGELOG file is updated (if relevant)
    • Commit sequence broadly makes sense
    • Key commits have useful messages
  • PR
    • All check jobs of the CI have succeeded
    • Self-reviewed the diff
    • Useful pull request description
    • Reviewer requested
  • Documentation
    • Update README file (if relevant)
    • Update documentation website (if relevant)
    • Add dev blog post (if relevant)
    • Add ADR blog post or Dev ADR entry (if relevant)
    • No new TODOs introduced

Issue(s)

this PR closes #2989

@turmelclem turmelclem self-assigned this Feb 11, 2026
@github-actions

github-actions Bot commented Feb 11, 2026

Copy link
Copy Markdown

Test Results

    5 files  ±0    190 suites  ±0   1h 7m 34s ⏱️ -25s
2 767 tests ±0  2 767 ✅ ±0  0 💤 ±0  0 ❌ ±0 
9 764 runs  ±0  9 764 ✅ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit e028b52. ± Comparison against base commit 9c0ca3a.

♻️ This comment has been updated with latest results.

@turmelclem
turmelclem force-pushed the ctl/2989-implement-static-build-for-Mithril-nodes_in-CI branch 16 times, most recently from 5ce9f42 to c682490 Compare February 19, 2026 16:44
@turmelclem
turmelclem force-pushed the ctl/2989-implement-static-build-for-Mithril-nodes_in-CI branch 12 times, most recently from 1c21144 to 7ee131f Compare February 20, 2026 15:36
turmelclem and others added 30 commits March 19, 2026 10:28
…id keeping target directory in uploaded archive
…ompilation and add default feature TLS for CLI
…ependencie instead of a feature (except for windows & LinuxARM64)
Too many repeats where sent for the signer registration. Flakiness already existed,
but it was occurring much more often with static builds which are a bit slower.
…f '-bin', put bundle_tls has default feature for the aggregagor
…RSION` version

 name = "client-cardano-database-v2" -version = "0.0.17" +version = "0.0.18" * client-cardano-database from `0.1.40` to `0.1.41`
* client-cardano-stake-distribution from `0.1.16` to `0.1.17`
* client-cardano-transaction from `0.1.25` to `0.1.26`
* client-mithril-stake-distribution from `0.2.14` to `0.2.15`
* mithril-metric from `0.1.20` to `0.1.21`
* mithril-aggregator from `0.8.35` to `0.8.36`
* mithril-client-cli from `0.12.43` to `0.12.44`
* mithril-client-wasm from `0.9.12` to `0.9.13`
* mithril-client from `0.13.5` to `0.13.6`
* mithril-common from `0.6.57` to `0.6.58`
* mithril-relay from `0.2.3` to `0.2.4`
* mithril-signer from `0.3.23` to `0.3.24`
* mithril-end-to-end from `0.4.122` to `0.4.123`
* [js] mithril-client-wasm from `0.9.12` to `0.9.13`
* mithril-test-lab/mithril-devnet/VERSION from `0.4.24` to `0.4.25`
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.

Implement static build of Mithril nodes in CI

4 participants