Skip to content
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

ci: move to stable toolchain #113

Merged
merged 1 commit into from
Mar 5, 2024

Conversation

AaronFeickert
Copy link
Contributor

This PR moves all CI to the stable toolchain, with the single exception of formatting (which requires nightly). It does this by cleaning up the rand feature to use rand_core::OsRng, which lets the no_std build run properly on stable.

Unfortunately, there is no good way to do this while keeping quickcheck around. This was only used for very limited fuzz testing; while having any fuzz testing be part of CI is nice, its practical benefit is likely minimal. Further, its functionality is available through the non-CI fuzzer.

Copy link
Contributor

@hansieodendaal hansieodendaal left a comment

Choose a reason for hiding this comment

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

We could hide the QuickCheck fuzzing behind a feature flag and only do CI for that using nightly (similar to what was requested in monero-rs). I find it quite handy to have that kind of testing as part of CI.

@AaronFeickert
Copy link
Contributor Author

I think that requires nightly, since without a nightly-only compiler flag, all development dependencies are pulled in. This breaks on targets that don't support getrandom (a quickcheck requirement).

Copy link
Contributor

@hansieodendaal hansieodendaal left a comment

Choose a reason for hiding this comment

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

utACK

@hansieodendaal hansieodendaal merged commit effad7d into tari-project:main Mar 5, 2024
6 checks passed
@AaronFeickert AaronFeickert deleted the stable-ci branch March 5, 2024 13:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants