Files
ptouch-prnt/.gitea/workflows/build.yaml
Moritz Martinius 903a188c42
Some checks failed
Build ptprnt / build (push) Failing after 24s
we need to run apt-get headless with -yq
2023-09-25 18:56:57 +02:00

21 lines
652 B
YAML

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