cargo-bins / cargo-quickinstall

pre-compiled binary packages for `cargo install`
Apache License 2.0
213 stars 9 forks source link

Different releases of same crate has different set artifacts each release. #227

Closed mstyura closed 10 months ago

mstyura commented 11 months ago

I've not yet figured out how, but it seems like there is a problem(?) with pre-built artifacts publishing. It seems like it's very often different releases of same crate has different set of target platforms built. Here is some examples of the crates I'm interested in:

  1. cargo-nextest-0.9.57:
    • cargo-nextest-0.9.57-aarch64-apple-darwin.tar.gz
    • cargo-nextest-0.9.57-x86_64-apple-darwin.tar.gz
    • cargo-nextest-0.9.57-x86_64-pc-windows-msvc.tar.gz
    • cargo-nextest-0.9.57-x86_64-unknown-linux-gnu.tar.gz
    • cargo-nextest-0.9.57-x86_64-unknown-linux-musl.tar.gz
  2. cargo-nextest-0.9.55
    • cargo-nextest-0.9.55-aarch64-apple-darwin.tar.gz
    • cargo-nextest-0.9.55-aarch64-unknown-linux-musl.tar.gz
    • cargo-nextest-0.9.55-x86_64-apple-darwin.tar.gz
    • cargo-nextest-0.9.55-x86_64-pc-windows-msvc.tar.gz
    • cargo-nextest-0.9.55-x86_64-unknown-linux-gnu.tar.gz
    • cargo-nextest-0.9.55-x86_64-unknown-linux-musl.tar.gz
  3. cargo-nextest-0.9.54
    • cargo-nextest-0.9.54-aarch64-apple-darwin.tar.gz
    • cargo-nextest-0.9.54-aarch64-unknown-linux-gnu.tar.gz
    • cargo-nextest-0.9.54-aarch64-unknown-linux-musl.tar.gz
    • cargo-nextest-0.9.54-x86_64-apple-darwin.tar.gz
    • cargo-nextest-0.9.54-x86_64-pc-windows-msvc.tar.gz
    • cargo-nextest-0.9.54-x86_64-unknown-linux-gnu.tar.gz
    • cargo-nextest-0.9.54-x86_64-unknown-linux-musl.tar.gz
  4. cargo-llvm-cov-0.5.31
    • cargo-llvm-cov-0.5.31-aarch64-apple-darwin.tar.gz
    • cargo-llvm-cov-0.5.31-aarch64-pc-windows-msvc.tar.gz
    • cargo-llvm-cov-0.5.31-x86_64-apple-darwin.tar.gz
    • cargo-llvm-cov-0.5.31-x86_64-pc-windows-msvc.tar.gz
    • cargo-llvm-cov-0.5.31-x86_64-unknown-linux-gnu.tar.gz
  5. cargo-llvm-cov-0.5.30
    • cargo-llvm-cov-0.5.30-aarch64-apple-darwin.tar.gz
    • cargo-llvm-cov-0.5.30-x86_64-apple-darwin.tar.gz
    • cargo-llvm-cov-0.5.30-x86_64-unknown-linux-gnu.tar.gz
  6. cargo-llvm-cov-0.5.29
    • cargo-llvm-cov-0.5.29-x86_64-unknown-linux-gnu.tar.gz

Is this something known and inevitable, or could be potentially fixed?

NobodyXu commented 11 months ago

It's built when requested (i.e. hitting the API), we can fix this by adding to the popular-list that is always built.

226 should fix this.

NobodyXu commented 11 months ago

There's some problems with cross compiling due to latest zig reject unknown link flag.

I will submit a PR later to downgrade it.

NobodyXu commented 11 months ago

I've merged #225 which should fix the cross-compiling. I also remove all the branches containing the build failure, which will prevent the crate from rebuilt again.

Just wait for a couple hours for our CIs to be run and these crates should be built for all targets.

If it doesn't, please ping me and I will investigate.

NobodyXu commented 11 months ago

@mstyura cargo-nextest v0.9.57 now has artifacts uploaded for all targets except for aarch64 windows https://github.com/cargo-bins/cargo-quickinstall/releases/tag/cargo-nextest-0.9.57

cargo-llvm-cov v0.5.31 now has artifacts uploaded for all targets https://github.com/cargo-bins/cargo-quickinstall/releases/tag/cargo-llvm-cov-0.5.31