Skip to content

Release static Linux builds (*-unknown-linux-musl) #200

Closed

Description

@grapexy

The Linux release assets are glibc builds (x86_64-unknown-linux-gnu, aarch64-unknown-linux-gnu).
They don't run on NixOS without nix-ld, or on musl systems such as Alpine. That rules out tools that
install kagi by downloading the published release asset and checking it against
kagi-vX-checksums.txt. The nix flake from #150 covers people who build from source, but not
anything that consumes the release binaries.

Could the release matrix in .github/workflows/release.yml also build x86_64-unknown-linux-musl
and aarch64-unknown-linux-musl, with the same asset names (kagi-$TAG-$TARGET.tar.gz plus the bare
binary) and entries in the checksums file? kagi-cli uses rustls rather than OpenSSL (#150), so
there's no C TLS library to link. The x86_64 target should need only musl-tools on ubuntu-latest,
and aarch64 a musl cross linker, or cross / cargo-zigbuild.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions