Files
deckhud/.github/workflows/appimage.yml
T
ziadarafatandClaude Opus 5.5 98fc27f4cf feat(appimage): self-contained AppImage built in a Debian 13 container
Bundles Qt 6.8, LayerShellQt v6.4.5 and the Wayland EGL client plugins
(rpath-patched; linuxdeploy-plugin-qt skips them). CI builds it on every
push and attaches it, with a .zsync for delta updates, to v* releases.
Drop LayerShell.Window.activateOnShow, which LayerShellQt < 6.5 lacks.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013UzjWSBjtVZ2zi8fJxS2hH
2026-10-30 17:35:13 -06:00

43 lines
1.3 KiB
YAML

name: appimage
on:
push:
branches: [main]
tags: ['v*']
workflow_dispatch:
permissions:
contents: write
jobs:
appimage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Build daemon
run: go build -trimpath -ldflags "-s -w" -o bin/deckhudd ./cmd/deckhudd
env:
CGO_ENABLED: "0"
- name: Build AppImage
run: |
podman build -t deckhud-appimage packaging/appimage
podman run --rm -e VERSION="$(git describe --tags --always)" \
-v "$PWD:/src/deckhud:Z" deckhud-appimage /src/deckhud/packaging/appimage/build.sh
- uses: actions/upload-artifact@v4
with:
name: deckhud-appimage
path: build-appimage/deckhud-*.AppImage*
- name: Publish release
if: startsWith(github.ref, 'refs/tags/v')
env:
GH_TOKEN: ${{ github.token }}
run: |
gh release create "$GITHUB_REF_NAME" build-appimage/deckhud-*.AppImage* \
--title "deckhud ${GITHUB_REF_NAME#v}" --generate-notes \
|| gh release upload "$GITHUB_REF_NAME" build-appimage/deckhud-*.AppImage* --clobber