From b438eb11789a5ce102b7a581d8745327de52bb35 Mon Sep 17 00:00:00 2001 From: Nihil Carcosa Date: Sat, 6 Dec 2025 01:04:09 +0100 Subject: [PATCH] creating CI/CD pipeline --- .gitea/workflows/build.yml | 29 +++++++++++++++++++++++++++++ gay.valhrafnaz.Voidmanifest.json | 16 ++++++++++++++-- 2 files changed, 43 insertions(+), 2 deletions(-) create mode 100644 .gitea/workflows/build.yml diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml new file mode 100644 index 0000000..374e925 --- /dev/null +++ b/.gitea/workflows/build.yml @@ -0,0 +1,29 @@ +name: Build Flatpak + +on: + push: + branches: [main] + pull_request: + +jobs: + flatpak: + name: "Build Flatpak" + runs-on: ubuntu-latest + container: + image: ghcr.io/flathub-infra/flatpak-github-actions:gnome-49 + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Build Flatpak + uses: flatpak/flatpak-builder-action@v6 + with: + manifest-path: gay.valhrafnaz.Voidmanifest.json + bundle: gay.valhrafnaz.Voidmanifest.flatpak + cache-key: flatpak-builder-${{ github.sha }} + + - name: Upload Flatpak artifact + uses: actions/upload-artifact@v4 + with: + name: void-manifest-flatpak + path: gay.valhrafnaz.Voidmanifest.flatpak diff --git a/gay.valhrafnaz.Voidmanifest.json b/gay.valhrafnaz.Voidmanifest.json index 23e95be..d5fba75 100644 --- a/gay.valhrafnaz.Voidmanifest.json +++ b/gay.valhrafnaz.Voidmanifest.json @@ -30,9 +30,21 @@ "sources" : [ { "type" : "git", - "url" : "https://git.valhrafnaz.gay/valhrafnaz/Voidmanifest.git" + "url" : "https://git.valhrafnaz.gay/valhrafnaz/VoidManifest.git" } ] - } + }, + { + "name": "blueprint-compiler", + "buildsystem": "meson", + "cleanup": ["*"], + "sources": [ + { + "type": "git", + "url": "https://gitlab.gnome.org/GNOME/blueprint-compiler", + "tag": "v0.18.0" + } + ] + } ] }