Attempt to setup gitea build action
Some checks failed
Build ptprnt / build (push) Failing after 6s

This commit is contained in:
2023-09-25 18:51:42 +02:00
parent ccea502734
commit 4dc5a91892

View File

@@ -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: sudo apt install meson
- name: Install build dependencies
run: sudo 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