mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-12-12 07:16:43 -05:00
chore(ci): add flatpak build (#398)
* chore(ci): add flatpak build * fmt changelog
This commit is contained in:
parent
835552c834
commit
742acca444
3 changed files with 28 additions and 3 deletions
11
.github/workflows/build-gui-release-binaries.yml
vendored
11
.github/workflows/build-gui-release-binaries.yml
vendored
|
|
@ -21,7 +21,7 @@ jobs:
|
||||||
- platform: "macos-13" # for Intel based macs.
|
- platform: "macos-13" # for Intel based macs.
|
||||||
args: "--target x86_64-apple-darwin"
|
args: "--target x86_64-apple-darwin"
|
||||||
- platform: "ubuntu-24.04" # We build on an older version to support older glib versions
|
- platform: "ubuntu-24.04" # We build on an older version to support older glib versions
|
||||||
args: ""
|
args: "--bundles deb,appimage,flatpak"
|
||||||
- platform: "windows-latest"
|
- platform: "windows-latest"
|
||||||
args: ""
|
args: ""
|
||||||
|
|
||||||
|
|
@ -57,6 +57,7 @@ jobs:
|
||||||
librsvg2-dev;
|
librsvg2-dev;
|
||||||
|
|
||||||
sudo apt install -y \
|
sudo apt install -y \
|
||||||
|
flatpak flatpak-builder \
|
||||||
libwebkit2gtk-4.1-0=2.44.0-2 \
|
libwebkit2gtk-4.1-0=2.44.0-2 \
|
||||||
libwebkit2gtk-4.1-dev=2.44.0-2 \
|
libwebkit2gtk-4.1-dev=2.44.0-2 \
|
||||||
libjavascriptcoregtk-4.1-0=2.44.0-2 \
|
libjavascriptcoregtk-4.1-0=2.44.0-2 \
|
||||||
|
|
@ -64,6 +65,14 @@ jobs:
|
||||||
gir1.2-javascriptcoregtk-4.1=2.44.0-2 \
|
gir1.2-javascriptcoregtk-4.1=2.44.0-2 \
|
||||||
gir1.2-webkit2-4.1=2.44.0-2;
|
gir1.2-webkit2-4.1=2.44.0-2;
|
||||||
|
|
||||||
|
- name: prepare flatpak runtime
|
||||||
|
if: matrix.platform == 'ubuntu-24.04'
|
||||||
|
run: |
|
||||||
|
flatpak --version
|
||||||
|
flatpak remote-add --if-not-exists flathub \
|
||||||
|
https://dl.flathub.org/repo/flathub.flatpakrepo
|
||||||
|
flatpak update -y
|
||||||
|
|
||||||
- name: work around spurious network errors in curl 8.0
|
- name: work around spurious network errors in curl 8.0
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
- docs: add instructions for verifying Tauri signature files
|
- GUI: Build Flatpak bundle in release workflow
|
||||||
|
- docs: Instructions for verifying GUI (Tauri) signature files
|
||||||
|
|
||||||
## [2.0.0-beta.2] - 2025-06-11
|
## [2.0.0-beta.2] - 2025-06-11
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -29,7 +29,22 @@
|
||||||
"bundle": {
|
"bundle": {
|
||||||
"createUpdaterArtifacts": true,
|
"createUpdaterArtifacts": true,
|
||||||
"active": true,
|
"active": true,
|
||||||
"targets": ["appimage", "dmg", "nsis", "app", "deb"],
|
"targets": ["appimage", "flatpak", "dmg", "nsis", "app", "deb"],
|
||||||
|
|
||||||
|
/* Flatpak-specific settings
|
||||||
|
* These are ignored by the other targets. */
|
||||||
|
"flatpak": {
|
||||||
|
"id": "net.unstoppableswap.UnstoppableSwap",
|
||||||
|
"runtime": "org.freedesktop.Platform",
|
||||||
|
"sdk": "org.freedesktop.Sdk",
|
||||||
|
"runtimeVersion": "23.08",
|
||||||
|
"finishArgs": [
|
||||||
|
"--socket=wayland",
|
||||||
|
"--socket=x11",
|
||||||
|
"--share=network",
|
||||||
|
"--device=all"
|
||||||
|
]
|
||||||
|
},
|
||||||
"icon": [
|
"icon": [
|
||||||
"icons/32x32.png",
|
"icons/32x32.png",
|
||||||
"icons/128x128.png",
|
"icons/128x128.png",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue