-
-
Notifications
You must be signed in to change notification settings - Fork 180
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
Clarify needed settings for pre-built binaries. #361
Conversation
Closes xd009642#359 I think it would be great if tarpaulin had CI itself to verify that all recommended installation procedures actually lead to working setups. Unfortunately I don't have the time to set that up for you.
So I think this can be more succinct if it doesn't mention libssl-dev, after-all that is in the example travis.yml so users should always add it. Also I realised why the prebuilt doesn't work on trusty anymore and it's because I switched to github actions and ubuntu-latest on GA is bionic. So maybe adapt the note to say that the prebuilt binaries are built on ubuntu-latest with github actions so the ubuntu distribution for travis should match if using them which at the current time is bionic |
Ok, but then the example
What do you want to do about all of these issues? In any case, "allow edits from maintainers is on", don't hold back, this is your project after all. |
So sudo required seemed to be required by a lot of people, but maybe that depends on which ubuntu version: see #77 for reference after_success was added because some people complained if their tests and build pass tarpaulin failing to run on the project shouldn't fail CI as it's more a tarpaulin issue if it can't build/run a project the alternatively bit it was intended that only the install command should have to change. And I'm sure with travis it preinstalls pkg-config, cmake, zlib1g-dev hence why the example config just has libssl-dev. I'll have a think about what I think is best probably need to personally take some time and figure out how much of the readme needs updating based on the current state of things |
I'll try to get past some initial issues just to merge this PR tonight though as some things may require more time to decide on. And obviously if you have any opinions or thoughts I'm always open to suggestions 👍 |
Sounds great. If the readme is clear, you will save people a lot of time debugging travis builds, because the feedback cycle is very long... (modify config -> seeing result on travis). I have still been debugging travis build all day, because switching to bionic breaks wasm-pack... |
hmm maybe try using cargo install to install tarpaulin then, or the prebuilt docker image might work better and be a quicker CI time for you? |
Made some tweaks
Also I made some tweaks to the readme, let me know if these improve things |
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.
LGTM. One thing I wonder about is why cargo install is run before cache. Isn't before cache after running everything to make sure something is in the cache for the next run? Or more usual, deleting something to prevent it from being cached. I wonder if this succeeds on a very first run.
Ah that's likely a hangover from when tarapulin was tied to the specific version of nightly that built it so caching meant a segfault whenever the nightly updated. Can remove it for crates that aren't relying on nightly features that may cause things to go wrong. I'll just do that now |
change before_cache to before_script
Okay I'm gonna merge this now |
Closes #359
I think it would be great if tarpaulin had CI itself to verify that all
recommended installation procedures actually lead to working setups.
Unfortunately I don't have the time to set that up for you.