Skip to content

Add Linux AppImage workflow #27

Open
shaposhnikoff wants to merge 5 commits into
rigexpert:masterfrom
shaposhnikoff:master
Open

Add Linux AppImage workflow #27
shaposhnikoff wants to merge 5 commits into
rigexpert:masterfrom
shaposhnikoff:master

Conversation

@shaposhnikoff

Copy link
Copy Markdown

Summary

  • Add a GitHub Actions workflow for building Linux AppImage artifacts.
  • Build and upload separate AppImages for Ubuntu 22.04 and Ubuntu 24.04.
  • Install distro-specific Qt/FUSE packages and OpenGL headers required by the qmake build.
  • Use a valid square application icon for linuxdeploy packaging.

Verification

  • GitHub Actions run succeeded for both matrix jobs: ubuntu-22.04 and ubuntu-24.04.
  • Artifacts were uploaded for both AppImage builds.

Workflow run: https://github.com/shaposhnikoff/AntScope2/actions/runs/28279334834

@shaposhnikoff shaposhnikoff marked this pull request as ready for review June 27, 2026 05:12
Copilot AI review requested due to automatic review settings June 27, 2026 05:12

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR introduces a GitHub Actions workflow to build and upload Linux AppImage artifacts (Ubuntu 22.04 and 24.04) and updates the qmake project and docs to better support Linux builds and packaging.

Changes:

  • Add a linux-appimage.yml workflow that builds and uploads AppImages for Ubuntu 22.04 and 24.04.
  • Add a Linux qmake post-link step to copy required runtime data files into the expected runtime directory layout for local builds.
  • Update README with Ubuntu 24.04 Qt6/qmake build dependencies and build instructions; ignore qmake build artifacts in .gitignore.

Reviewed changes

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

File Description
README.md Documents Qt6/qmake Linux build dependencies and expected output layout.
AntScope.pro Copies Linux runtime data files post-link to support local run layout (build/ + build/release).
.gitignore Ignores qmake-generated build artifacts (Makefile, .qmake.stash, build/).
.github/workflows/linux-appimage.yml Adds CI to build and upload AppImages for Ubuntu 22.04/24.04.

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

Comment on lines +85 to +88
- name: Download linuxdeploy
env:
LINUXDEPLOY_URL: https://github.com/linuxdeploy/linuxdeploy/releases/download/continuous/linuxdeploy-x86_64.AppImage
QT_PLUGIN_URL: https://github.com/linuxdeploy/linuxdeploy-plugin-qt/releases/download/continuous/linuxdeploy-plugin-qt-x86_64.AppImage
Comment on lines +90 to +92
curl -L "$LINUXDEPLOY_URL" -o linuxdeploy-x86_64.AppImage
curl -L "$QT_PLUGIN_URL" -o linuxdeploy-plugin-qt-x86_64.AppImage
chmod +x linuxdeploy-x86_64.AppImage linuxdeploy-plugin-qt-x86_64.AppImage
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