Add Linux AppImage workflow #27
Open
shaposhnikoff wants to merge 5 commits into
Open
Conversation
There was a problem hiding this comment.
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.ymlworkflow 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Verification
ubuntu-22.04andubuntu-24.04.Workflow run: https://github.com/shaposhnikoff/AntScope2/actions/runs/28279334834