-
Notifications
You must be signed in to change notification settings - Fork 723
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
First draft of Azure Pipelines CI config #191
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good to me at a glance, and I'd be happy to merge it once the various badges etc have also been updated. I had some questions about what the CI config is doing
@jonhoo should I do the steps you linked above to enable Azure Pipelines before or after the configs are merged to master? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this LGTM & I'll be very happy to hit the merge button once i know what order to do the rest of the setup in :)
@jonhoo oh, can we get github.io RustDoc publishing on commits to master, eventually? It's fine if that lands in a follow-up branch... |
@hawkw you do the steps first, and when it asks to "select branch" you just select this branch instead of master. we can then update the "default branch" after this PR has been merged. RustDoc publishing should also totally be doable, but isn't something I have any experience with. I know that you can enable access to git commands as outlined here, and then it should just be a matter of (conditionally on the branch being |
Okay, looks like only @carllerche has the permissions to edit what repos in the
Okay, let's open a follow-up issue to track adding this? IIRC |
@jonhoo it looks like there's an error in the Azure Pipelines config: https://dev.azure.com/tracing/tracing/_build/results?buildId=1&view=results |
Looks like this is blocked on either making the readme doctest thing work on stable Rust, or removing it? (cc @yaahallo) |
Or alternatively not running |
@jonhoo I spoke to @yaahallo offline & she says that if we disable the readme doctest for now and open an issue to get it working on stable, she'll look into it later. If you wouldn't mind disabling it on this branch, I think we can move forwards with this PR? |
Done! |
@jonhoo can we also actually disable the readme doctest in Line 4 in 9d9ba34
Lines 402 to 403 in 9d9ba34
Line 56 in 9d9ba34
so that the |
Done! |
Ah, it looks like we still can't run |
Ah, that will require crate-ci/azure-pipelines#42 (comment). |
@jonhoo if we can just disable the |
We need support for _not_ running with `--all-features` due to the nightly requirement for async/await which is enabled by a feature in `tracing`. This will eventually land with crate-ci/azure-pipelines#42.
@hawkw done! |
@jonhoo great, looks like this is now working properly! I'm going to merge this PR now, and we can open new issues for the follow-up work --- would you like to open them, or shall I? |
I think you have a better idea of how important the different things are, and who to tag to fix them :) |
Brings back `cargo check` as discussed here: #191 (comment) now that crate-ci/azure-pipelines#42 has landed.
You'll have to follow the instructions over at https://github.com/crate-ci/azure-pipelines to get it fully set up. Might also run into some weirdness with having to change the "default" branch once merged. But 🎉
Oh, yeah, and need to also update Cargo.toml, README badge, etc.