Update Flatpak Github Workflow

This commit is contained in:
dav 2024-01-24 18:10:01 -08:00
parent 6cde50daf3
commit e12312d26f
3 changed files with 1 additions and 113 deletions

View file

@ -15,5 +15,5 @@ jobs:
- uses: flatpak/flatpak-github-actions/flatpak-builder@v6
with:
bundle: Burrow.flatpak
manifest-path: burrow-gtk/com.hackclub.burrow.devel.json
manifest-path: burrow-gtk/build-aux/com.hackclub.burrow.devel.json
cache-key: flatpak-builder-${{ github.sha }}

View file

@ -1,56 +0,0 @@
{
"app-id" : "com.hackclub.burrow-devel",
"runtime" : "org.gnome.Platform",
"runtime-version" : "45",
"sdk" : "org.gnome.Sdk",
"sdk-extensions" : [
"org.freedesktop.Sdk.Extension.rust-stable"
],
"command" : "burrow-gtk",
"finish-args" : [
"--share=network",
"--share=ipc",
"--socket=fallback-x11",
"--device=dri",
"--socket=wayland"
],
"build-options" : {
"append-path" : "/usr/lib/sdk/rust-stable/bin",
"build-args" : [
"--share=network"
],
"env" : {
"RUST_BACKTRACE" : "1",
"RUST_LOG" : "burrow-gtk=debug"
}
},
"cleanup" : [
"/include",
"/lib/pkgconfig",
"/man",
"/share/doc",
"/share/gtk-doc",
"/share/man",
"/share/pkgconfig",
"*.la",
"*.a"
],
"modules" : [
{
"name" : "burrow-gtk",
"builddir" : true,
"subdir" : "burrow-gtk",
"buildsystem" : "simple",
"build-commands": [
"cargo build",
"install -Dm755 -t /app/bin target/debug/burrow-gtk"
],
"sources" : [
{
"type": "dir",
"path": "../"
}
]
}
]
}

View file

@ -1,56 +0,0 @@
{
"app-id" : "com.hackclub.burrow",
"runtime" : "org.gnome.Platform",
"runtime-version" : "45",
"sdk" : "org.gnome.Sdk",
"sdk-extensions" : [
"org.freedesktop.Sdk.Extension.rust-stable"
],
"command" : "burrow-gtk",
"finish-args" : [
"--share=network",
"--share=ipc",
"--socket=fallback-x11",
"--device=dri",
"--socket=wayland"
],
"build-options" : {
"append-path" : "/usr/lib/sdk/rust-stable/bin",
"build-args" : [
"--share=network"
],
"env" : {
"RUST_BACKTRACE" : "1",
"RUST_LOG" : "burrow-gtk=debug"
}
},
"cleanup" : [
"/include",
"/lib/pkgconfig",
"/man",
"/share/doc",
"/share/gtk-doc",
"/share/man",
"/share/pkgconfig",
"*.la",
"*.a"
],
"modules" : [
{
"name" : "burrow-gtk",
"builddir" : true,
"subdir" : "burrow-gtk",
"buildsystem" : "simple",
"build-commands": [
"cargo build --release",
"install -Dm755 -t /app/bin target/release/burrow-gtk"
],
"sources" : [
{
"type": "dir",
"path": "../"
}
]
}
]
}