Skip to content

ci: Add Linux binary and .deb build workflows#9

Open
peterzen wants to merge 3 commits into
masterfrom
linux-ci-build
Open

ci: Add Linux binary and .deb build workflows#9
peterzen wants to merge 3 commits into
masterfrom
linux-ci-build

Conversation

@peterzen

@peterzen peterzen commented Jul 3, 2026

Copy link
Copy Markdown
Owner
  • Adds build-linux.yml, mirroring the existing build-windows.yml pattern: one job builds the raw bisonw-desktop Linux binary, the other builds the .deb package via linux/pkg-debian.sh.

  • Fixes build-snap.yml, which still pointed at the pre-rename pkg/pkg-debian.sh / pkg/prepare-snap.sh paths from before the pkglinux directory reorg, so it was currently broken.

peterzen added 3 commits July 3, 2026 19:57
Adds build-linux.yml with two jobs mirroring the existing
build-windows.yml pattern: a native binary build and a .deb package
build via linux/pkg-debian.sh, both triggered manually or on PRs that
touch the Linux packaging scripts.

Also fixes build-snap.yml, which still referenced the pre-rename
pkg/pkg-debian.sh and pkg/prepare-snap.sh paths from before the
pkg -> linux directory reorg.
Both jobs run linux/common.sh, which derives VER from git describe. The
default shallow checkout has no tags, so it fell back to a raw commit
SHA in the .deb filename (the embedded control-file Version field was
unaffected since it's hardcoded in pkg-debian.sh). Match the
fetch-depth: 0 already used by build.yml/build-snap.yml.
fetch-depth: 0 alone wasn't enough: actions/checkout still passes
--no-tags to git fetch unless fetch-tags is set, so linux/common.sh's
git describe found no tags and fell back to a raw commit SHA for VER
(visible in the .deb artifact filename). Verified locally by
replicating actions/checkout's fetch invocation against this repo.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant