Skip to content

Commit

Permalink
fix(ci): flatpak (#1316)
Browse files Browse the repository at this point in the history
  • Loading branch information
GeopJr authored Jan 31, 2025
1 parent 62b8dc0 commit feab622
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
runs-on: ubuntu-latest
needs: [ lint ]
container:
image: bilelmoussaoui/flatpak-github-actions:gnome-43
image: bilelmoussaoui/flatpak-github-actions:gnome-47
options: --privileged
strategy:
matrix:
Expand All @@ -39,7 +39,7 @@ jobs:
uses: docker/setup-qemu-action@v2
with:
platforms: arm64
- uses: flatpak/flatpak-github-actions/flatpak-builder@v6
- uses: flathub-infra/flatpak-github-actions/flatpak-builder@4388a4c5fc8bab58e1dfb7fc63267dca0f7b4976
with:
bundle: "dev.geopjr.Tuba.Devel.flatpak"
run-tests: true
Expand Down
33 changes: 28 additions & 5 deletions build-aux/dev.geopjr.Tuba.Devel.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"runtime": "org.gnome.Platform",
"runtime-version": "47",
"sdk": "org.gnome.Sdk",
"sdk-extensions": [ "org.freedesktop.Sdk.Extension.llvm19" ],
"command": "dev.geopjr.Tuba",
"finish-args": [
"--device=dri",
Expand All @@ -26,12 +27,23 @@
],
"modules": [
{
"name" : "libspelling",
"buildsystem" : "meson",
"config-opts" : [
"name": "libspelling",
"buildsystem": "meson",
"config-opts": [
"-Ddocs=false"
],
"sources" : [
"build-options": {
"arch": {
"aarch64": {
"append-path": "/usr/lib/sdk/llvm19/bin",
"prepend-ld-library-path": "/usr/lib/sdk/llvm19/lib",
"env": {
"CC": "clang"
}
}
}
},
"sources": [
{
"type": "git",
"url": "https://gitlab.gnome.org/GNOME/libspelling.git",
Expand All @@ -43,9 +55,20 @@
"name": "tuba",
"builddir": true,
"buildsystem": "meson",
"config-opts" : [
"config-opts": [
"-Ddevel=true"
],
"build-options": {
"arch": {
"aarch64": {
"append-path": "/usr/lib/sdk/llvm19/bin",
"prepend-ld-library-path": "/usr/lib/sdk/llvm19/lib",
"env": {
"CC": "clang"
}
}
}
},
"sources": [
{
"type": "dir",
Expand Down

0 comments on commit feab622

Please sign in to comment.