Launch: release builds (linux x86_64/arm64 musl, macOS arm64) #21
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Blocks
#28 S15: spike before M17 (about two days)
jhgaylor/illogical
Reference
jhgaylor/illogical#21
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Blocks: #28 (and through it the control track)
A tag
vX.Y.Zbuilds release binaries and attaches them to a Forgejo release, so nobody has to build from source.Depends on #20 (runners).
Targets
x86_64-unknown-linux-musl: whatjust staticalready builds.aarch64-unknown-linux-musl: new.scripts/zig-cc-muslhardcodes-target x86_64-linux-musl; make the target a parameter (or addzig-cc-musl-aarch64) and add ajust statictarget argument. Check that libghostty and aws-lc cross-build.aarch64-apple-darwin: built natively on jake-mini (just build).Release
.forgejo/workflows/release.ymlonv*tags: build the web client once, build each target, then packageillogical-<version>-<target>.tar.gz(bothillogicaldandillogical, plus the licenses).SHA256SUMSfor the release.forgejo-releaseaction). The binaries embedweb/dist, so they are self-contained.--version(clap); make sureillogicald --versiondoes too, and set the workspace version to the first release so both print it.install.shcan check them.Done when
v0.1.0produces a release with three tarballs andSHA256SUMS, and each tarball'sillogicaldruns on its platform.Done: v0.1.0 is out, https://git.inevitable.fyi/jhgaylor/illogical/releases/tag/v0.1.0
just static aarch64: Zig links the cross build with its own musl (rustc's self-contained crt off, its Cortex-A53 flag dropped). Checked under qemu: the daemon serves the page and runs panes.just distmakesillogical-VERSION-TARGET.tar.gz(both binaries, licenses, notices, README) and SHA256SUMS.release.ymlonv*: Linux tarballs on geek, macOS on jake-mini, uploaded byscripts/release, then SHA256SUMS and the Homebrew bump.illogicald --version/illogical --versionprint 0.1.0.publishjob failed twice (asset downloads need the repo public, and the tap's SSH URL) and was finished by hand; both are fixed inscripts/release, but the deploy-key path is first exercised by the next tag.