-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Binary releases #116
Comments
Travis:
AppVeyor:
I don't think that there should be anything else besides the binary in the tarball, actually do we need to make a tarball at all in this case, can't we just ship the binary directly? Adding a link to the GitHub repository at the end of Thanks for doing this! :) |
Each target will upload a binary and each binary must be named differently or one upload will overwrite the other. We could name them using the target triple as a suffix: I personally like the naming convention the Rust releases use: I forgot to ask which targets you want to release binaries for. I'll add the list to the top comment. |
Right, in that case the tarball makes sense to have the same name for binaries independent of version and target.
As many as possible? 😉 |
😄
Sure. I've added the list of targets to the top comment. There a 9 targets. Let me know if you want to "opt-out" of any of them. I don't really know what's the difference between the gnu and msvc variants on windows land, but hopefully the windows user will know the difference 😃.
Yeah, 32-bit and 64-bit need to run as different build jobs so they end in different tarballs. |
I don't know either, but isn't having all options going to be confusing for users (if they don't know the difference)? Also what's the difference between gnu and musl linux? You say "libraries statically linked", but Rust already links statically by default right? |
I asked on IRC, and the Rust on windows expert recommends msvc. :-)
That binary can only run on Linux systems that use glibc. On the other hand compiling against musl produces a statically linked binary:
This binary can run on any Linux system regardless of the libc it has installed. The tradeoff is that the musl binary tends to be bigger in size. |
MSVC it is then 😉
I guess it's worth having both then, Linux users tend to know more often what they need. |
The releases seem to work \o/. I tested the windows release under wine and |
Yes! That's great news 👍 |
FYI, rsnotify 2.5.5 should be build-able for the i686-apple-darwin target. If you want to extend the test/release matrix, let me know. |
Yes! please 😉 |
Sorry to bother you, but I have a doc-test that is failing on only some platforms: https://travis-ci.org/azerupi/mdBook/builds/118838692 But I have no clue as to what I am doing wrong, do you have an idea? |
Short answer: Rewrite your test as:
Note: closing the doctest fence ('```') and space between the There was an issue (rust-lang/rust#31907) with doctests and Now the problem is that for some reason the transformed doctest:
doesn't get ignored even though is marked with |
I didn't even notice I was missing the closing fences, ugh.. I am a bit surprised that a doc-test without closing fences passes though, if it would have failed on every platform I would probably have noticed. But since it was only failing on a couple of platforms I assumed something weird was going on with the test matrix. Thanks for the help 😃 |
Steps required:
@azerupi's share of work
mdbook
binary). mdBook has to comply with the MPL-2.0 license, and the license dictates that:So, I guess that the release tarball must include a link to this repository somewhere, you could add the link to the output of
mdbook --help
or add the link to the README and ship the README in the release tarball. I leave this decision to you.i686-apple-darwin
(32-bit OSX)i686-pc-windows-gnu
(32-bit Windows, MinGW)i686-pc-windows-msvc
(32-bit Windows, MSVC)i686-unknown-linux-gnu
(32-bit Linux)x86_64-apple-darwin
(64-bit OSX)x86_64-pc-windows-gnu
(64-bit Windows, MinGW)x86_64-pc-windows-msvc
(64-bit Windows, MSVC)x86_64-unknown-linux-gnu
(64-bit Linux)x86_64-unknown-linux-musl
. (64-bit Linux, statically linked binaries)Recall that more targets means longer CI testing time. AppVeyor is particularly slow because it doesn't do parallel build jobs (i.e. one target at a time).
@japaric's share of work
When all that is done, every time a new git tag is pushed the CI infrastructure will build a new binary release and upload it here. Then it's @azerupi's turn again:
correctly.
@azerupi You can ask me any questions here or on mozilla IRC network my handle is
japaric
.The text was updated successfully, but these errors were encountered: