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

Add NIGHTLY variable to CI script #467

Merged
merged 2 commits into from Jun 29, 2022

Conversation

tcharding
Copy link
Member

We are currently using the DO_BENCH variable as a proxy for whether or not we are using a nightly toolchain, while this is technically correct we use it from within an if guarded statement that is guarded by DO_FEATURE_MATRIX and we never run the CI script with both of these variables set to true. This means that the all features test is never being run.

Add a NIGHTLY variable and set it based on the output of cargo --version.

This PR catches the bug fixed in: #466 as such it will not be able to be merged until #466 merges.

We are currently using the DO_BENCH variable as a proxy for whether or
not we are using a nightly toolchain, while this is technically correct
we use it from within an if guarded statement that is guarded by
DO_FEATURE_MATRIX and we never run the CI script with _both_ of these
variables set to true. This means that the all features test is never
being run.

Add a NIGHTLY variable and set it based on the output of `cargo
--version`.
We only use this macro when not fuzzing, add a cfg attribute to build it
in only when needed.
Copy link
Member

@apoelstra apoelstra left a comment

Choose a reason for hiding this comment

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

ACK 5f611f6

@apoelstra apoelstra merged commit ce8883c into rust-bitcoin:master Jun 29, 2022
@tcharding tcharding deleted the 06-28-ci-script-nighly branch July 10, 2022 21:55
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.

None yet

2 participants