From a4998939b427092f0634216c2ba15b8d97b6a361 Mon Sep 17 00:00:00 2001 From: Markus Rosenstihl Date: Mon, 16 Mar 2026 14:39:36 +0100 Subject: [PATCH] gitea worklow added --- .gitea/workflows/debian-build.yml | 52 +++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 .gitea/workflows/debian-build.yml diff --git a/.gitea/workflows/debian-build.yml b/.gitea/workflows/debian-build.yml new file mode 100644 index 0000000..1e4740c --- /dev/null +++ b/.gitea/workflows/debian-build.yml @@ -0,0 +1,52 @@ +name: Build Debian Packages + +on: + push: + branches: [ "main" ] + pull_request: + workflow_dispatch: + +jobs: + build: + strategy: + matrix: + target: [debian11, debian12, debian13] + include: + - target: debian11 + codename: bullseye + - target: debian12 + codename: bookworm + - target: debian13 + codename: trixie + + runs-on: ${{ matrix.target }} + + steps: + - name: Install Node.js and git + run: | + apt-get update + apt-get install nodejs git + + - name: Checkout repository + uses: actions/checkout@v3 + with: + github-server-url: https://gitea.pkm.physik.tu-darmstadt.de + + - name: Install build dependencies + run: | + bash requirements.debian + + - name: Build Package + run: | + dpkg-buildpackage -us -uc -b + + - name: Collect Artifacts + run: | + mkdir -p artifacts + mv -v ../*.deb artifacts/ + + - name: Upload Artifacts + uses: actions/upload-artifact@v3 + with: + name: package-${{ matrix.codename }} + path: artifacts/*.deb