Attempt to setup gitea build action #1

Merged
moritz merged 5 commits from gitea-actions-build into master 2023-09-25 17:41:38 +00:00
Showing only changes of commit fd5713c742 - Show all commits

View File

@@ -0,0 +1,20 @@
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: Update package cache
run: apt-get update
- name: install meson
run: apt-get install meson
- name: Install build dependencies
run: apt-get 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