From d84fcb861a36a3515fa29ab16ec8e19de9a97b37 Mon Sep 17 00:00:00 2001 From: Moritz Martinius Date: Mon, 25 Sep 2023 18:51:42 +0200 Subject: [PATCH] Attempt to setup gitea build action --- .gitea/workflows/build.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .gitea/workflows/build.yaml diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml new file mode 100644 index 0000000..76206a4 --- /dev/null +++ b/.gitea/workflows/build.yaml @@ -0,0 +1,18 @@ +name: Build ptprnt +on: [push] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - run: echo "Branch ${{ gitea.ref }} will be built for project ${{ gitea.repository }}." + - name: Checkout branch + uses: actions/checkout@v3 + - name: install meson + run: apt install meson + - name: Install build dependencies + run: apt install libusb-dev libspdlog-dev libpango1.0-dev libcairo2-dev gcovr + - name: setup builddir + run: meson setup builddir -Db_coverage=true + - name: build all targets + run: ninja -C builddir