Skip to content

ci: build a self-contained Linux AppImage in the release workflow#1081

Merged
louis-e merged 1 commit into
mainfrom
ci/linux-appimage-release
May 31, 2026
Merged

ci: build a self-contained Linux AppImage in the release workflow#1081
louis-e merged 1 commit into
mainfrom
ci/linux-appimage-release

Conversation

@louis-e

@louis-e louis-e commented May 31, 2026

Copy link
Copy Markdown
Owner

Adds an AppImage as a Linux release artifact so the app runs without a system-installed WebKitGTK 4.1, which is unavailable or hard to find on some distros (e.g. Fedora). Closes the gap behind issue #925.

  • Build the Linux target with the Tauri bundler (cargo tauri build --bundles appimage) instead of cargo build, reusing the existing bundle config. The same build still yields the bare binary tarball.
  • Pin the Linux build to ubuntu-22.04 for a stable glibc/WebKitGTK base.
  • Ship the AppImage as arnis-linux-appimage.tar.gz so the executable bit survives download (extract and run, no chmod), matching the bare binary.
  • Add icon.png to the bundle icons.

Adds an AppImage as a Linux release artifact so the app runs without a
system-installed WebKitGTK 4.1, which is unavailable or hard to find on
some distros (e.g. Fedora). Closes the gap behind issue #925.

- Build the Linux target with the Tauri bundler (cargo tauri build
  --bundles appimage) instead of cargo build, reusing the existing
  bundle config. The same build still yields the bare binary tarball.
- Pin the Linux build to ubuntu-22.04 for a stable glibc/WebKitGTK base.
- Ship the AppImage as arnis-linux-appimage.tar.gz so the executable bit
  survives download (extract and run, no chmod), matching the bare binary.
- Add icon.png to the bundle icons.
Copilot AI review requested due to automatic review settings May 31, 2026 14:55

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a self-contained AppImage as a Linux release artifact so users on distros without WebKitGTK 4.1 (e.g. Fedora) can run Arnis without installing system dependencies.

Changes:

  • Pin Linux release runner to ubuntu-22.04 for stable glibc/WebKitGTK base, and update the corresponding artifact-download name.
  • Install Tauri CLI on Linux and build via cargo tauri build --bundles appimage; package the resulting AppImage into arnis-linux-appimage.tar.gz and publish it alongside the bare binary.
  • Add assets/icons/icon.png to the Tauri bundle icon list.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
.github/workflows/release.yml Switches Linux build to cargo tauri build, packages AppImage as tar.gz, uploads/downloads new artifact, updates download name to ubuntu-22.04-....
tauri.conf.json Adds assets/icons/icon.png to bundle icons (needed by Linux/AppImage bundling).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@louis-e louis-e merged commit 36f5579 into main May 31, 2026
4 checks passed
@louis-e louis-e deleted the ci/linux-appimage-release branch May 31, 2026 14:58
@github-actions

Copy link
Copy Markdown

⏱️ Benchmark run finished in 1m 6s
🏗️ Generation time: 27s (excl. data fetching)
🧠 Peak memory usage: 890 MB

📈 Compared against baseline: 27s time, 900 MB memory
🧮 Delta: 39s time, -10 MB memory
🔢 Commit: 1a034e9

🟢 Generation time is unchanged.
🟢 Peak memory is unchanged.

📅 Last benchmark: 2026-05-31 15:00:15 UTC

You can retrigger the benchmark by commenting retrigger-benchmark.

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.

2 participants