-
-
Notifications
You must be signed in to change notification settings - Fork 12
Add sqgipkg release packaging #141
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
supercamel
wants to merge
17
commits into
elly-code:main
Choose a base branch
from
supercamel:main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from 5 commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
c3501ce
Add sqgipkg release packaging
supercamel 3087259
Fix missing icons in Windows sqgipkg build
bb0c3f8
Fix missing icons in AppImage builds
8f7e151
Bundle elementary icon theme so emoji button icon renders
1de253d
Bundle emoji-button emote icons in app GResource
2bfea3e
Bundle emoji button icons in AppImage
0d713fa
Stage GDK Pixbuf loader tooling in AppImage
d1e8d29
Remove unused emote resource bundle
08fd75f
Fix release workflow tags
supercamel c5b12b4
Fix sqgipkg release builds
supercamel 7ff9efe
Document sqgipkg release path
supercamel d5ee3f6
Stage gdk-pixbuf tooling for Windows icons
supercamel be8527e
Use Adwaita icons for Windows packages
supercamel 1f6c734
Merge branch 'main' into main
teamcons 2ddfbd3
Fix bundled translations
db66a46
Update Windows packaging manifest
supercamel 004e616
Use sqgipkg Windows build packages
supercamel File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,90 @@ | ||
| name: Release | ||
|
|
||
| # Builds Linux AppImages (x86_64 + aarch64) and the Windows NSIS installer with | ||
| # sqgipkg, then publishes them as release assets for tags like `v4.2.1`. | ||
|
|
||
| on: | ||
| push: | ||
| tags: | ||
| - 'v*' | ||
| workflow_dispatch: | ||
|
|
||
| permissions: | ||
| contents: write | ||
|
|
||
| env: | ||
| APPIMAGE_EXTRACT_AND_RUN: '1' | ||
|
|
||
| jobs: | ||
| build: | ||
| runs-on: ubuntu-24.04 | ||
| steps: | ||
| - name: Checkout Jorts | ||
| uses: actions/checkout@v4 | ||
| with: | ||
| path: jorts | ||
|
|
||
| - name: Checkout sqgi (runtime + sqgipkg) | ||
| uses: actions/checkout@v4 | ||
| with: | ||
| repository: supercamel/sqgi | ||
| path: sqgi | ||
|
|
||
| - name: Install build dependencies | ||
| run: | | ||
| sudo apt-get update | ||
| sudo apt-get install -y --no-install-recommends \ | ||
| build-essential cmake ninja-build pkg-config git file ca-certificates wget \ | ||
| meson valac gobject-introspection gettext desktop-file-utils appstream \ | ||
| libglib2.0-dev libgirepository1.0-dev libffi-dev libcairo2-dev \ | ||
| libgtk-4-dev libgranite-7-dev libgee-0.8-dev libjson-glib-dev libportal-dev \ | ||
| librsvg2-dev librsvg2-common adwaita-icon-theme hicolor-icon-theme shared-mime-info \ | ||
| gcc-aarch64-linux-gnu g++-aarch64-linux-gnu qemu-user-static binfmt-support \ | ||
| mingw-w64 nsis squashfs-tools | ||
|
|
||
| - name: Build and install sqgi | ||
| run: | | ||
| cmake -S sqgi -B sqgi/build -G Ninja -DCMAKE_BUILD_TYPE=Release -DSQ_ENABLE_JIT=ON | ||
| cmake --build sqgi/build | ||
| sudo cmake --install sqgi/build --prefix /usr/local | ||
| sudo ldconfig | ||
|
|
||
| - name: Build Linux x86_64 AppImage | ||
| working-directory: jorts | ||
| run: sqgipkg --target appimage --appimage-arch x86_64 --sqgi-source-dir "$GITHUB_WORKSPACE/sqgi" | ||
|
|
||
| - name: Build Linux aarch64 AppImage | ||
| working-directory: jorts | ||
| run: sqgipkg --target appimage --appimage-arch aarch64 --sqgi-source-dir "$GITHUB_WORKSPACE/sqgi" | ||
|
|
||
| - name: Build Windows installer | ||
| working-directory: jorts | ||
| run: sqgipkg --target win-nsis --sqgi-source-dir "$GITHUB_WORKSPACE/sqgi" | ||
|
|
||
| - name: Collect artifacts | ||
| working-directory: jorts | ||
| run: | | ||
| mkdir -p artifacts | ||
| cp dist-linux-x86_64/Jorts.AppImage artifacts/Jorts-x86_64.AppImage | ||
| cp dist-linux-aarch64/Jorts.AppImage artifacts/Jorts-aarch64.AppImage | ||
| cp dist-windows-x86_64/Jorts-Setup.exe artifacts/Jorts-Setup.exe | ||
| ls -lh artifacts | ||
|
|
||
| - name: Upload build artifacts | ||
| uses: actions/upload-artifact@v4 | ||
| with: | ||
| name: jorts-builds | ||
| path: jorts/artifacts/* | ||
|
|
||
| - name: Publish release assets | ||
| if: startsWith(github.ref, 'refs/tags/') | ||
| working-directory: jorts | ||
| env: | ||
| GH_TOKEN: ${{ github.token }} | ||
| run: | | ||
| gh release create "$GITHUB_REF_NAME" artifacts/* \ | ||
| --repo "$GITHUB_REPOSITORY" \ | ||
| --title "$GITHUB_REF_NAME" \ | ||
| --generate-notes \ | ||
| || gh release upload "$GITHUB_REF_NAME" artifacts/* \ | ||
| --repo "$GITHUB_REPOSITORY" --clobber | ||
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
versioning doesnt use a 'v' prefix. It is always x.y.z