enhancement(flatpakui): create github action for continuous integration

This commit is contained in:
PancakeTAS 2025-08-28 20:39:38 +02:00 committed by Pancake
parent 7deeea9e98
commit 2de618809c
5 changed files with 40 additions and 3 deletions

37
.github/workflows/flatpak_ci.yml vendored Normal file
View file

@ -0,0 +1,37 @@
name: (Continuous Integration) Build lsfg-vk for Flatpak
on:
push:
branches: ["develop"]
jobs:
flatpak-extensions:
runs-on: ubuntu-latest
strategy:
matrix:
version: ["23.08", "24.08"]
container:
image: ghcr.io/flathub-infra/flatpak-github-actions:freedesktop-${{ matrix.version }}
options: --privileged
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Build Flatpak extension (${{ matrix.version }})
uses: flatpak/flatpak-github-actions/flatpak-builder@v6
with:
bundle: "org.freedesktop.Platform.VulkanLayer.lsfg_vk_${{ matrix.version }}.flatpak"
manifest-path: "scripts/flatpak/org.freedesktop.Platform.VulkanLayer.lsfgvk_${{ matrix.version }}.yml"
verbose: true
flatpak-ui:
runs-on: ubuntu-latest
container:
image: ghcr.io/flathub-infra/flatpak-github-actions:gnome-48
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Build Flatpak
uses: flatpak/flatpak-github-actions/flatpak-builder@v6
with:
bundle: "gay.pancake.lsfg-vk-ui.flatpak"
manifest-path: "scripts/flatpak/gay.pancake.lsfg-vk-ui.yml"
verbose: true

View file

@ -32,4 +32,4 @@ modules:
- install -Dm644 ./rsc/icon.png /app/share/icons/hicolor/256x256/apps/gay.pancake.lsfg-vk-ui.png
sources:
- type: dir
path: ../../ui
path: ../ui

View file

@ -26,6 +26,6 @@ modules:
- -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=On
sources:
- type: dir
path: ../..
path: ..
- type: patch
path: VkLayer_LS_frame_generation.patch

View file

@ -26,6 +26,6 @@ modules:
- -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=On
sources:
- type: dir
path: ../..
path: ..
- type: patch
path: VkLayer_LS_frame_generation.patch