From 57cc5b49b31e1dbfc163a658f5ec57cdea5c8715 Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Thu, 22 Aug 2024 13:32:26 -0400 Subject: [PATCH] forgejo-ci: add logics to be able to build for different qubes/alpine releases from workflow --- .forgejo/workflows/test-build.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.forgejo/workflows/test-build.yaml b/.forgejo/workflows/test-build.yaml index b33aefb..78cc47f 100644 --- a/.forgejo/workflows/test-build.yaml +++ b/.forgejo/workflows/test-build.yaml @@ -7,6 +7,9 @@ jobs: runs-on: x86_64 container: image: alpine:3.20 + env: + QUBES_REL: r4.2 + DIST: alpine320 steps: - name: Environment setup run: | @@ -26,6 +29,8 @@ jobs: git clone https://github.com/QubesOS/qubes-linux-template-builder qubes-builder/qubes-src/linux-template-builder patch -d qubes-builder/qubes-src/linux-template-builder -p1 -i $GITHUB_WORKSPACE/.forgejo/patches/linux-template-builder_use-fuse.patch echo "%define _arch x86_64" >> qubes-builder/qubes-src/linux-template-builder/templates.spec + echo "4.2.0" > qubes-builder/qubes-src/linux-template-builder/version + sed "s|DISTS_VM :.*|DISTS_VM := $DIST|" -i ./qubes-builder/builder.conf cd qubes-builder make linux-template-builder cp qubes-src/linux-template-builder/rpm/noarch/qubes-template-*.rpm $GITHUB_WORKSPACE/.