This commit is contained in:
18
.gitea/workflows/build.yaml
Normal file
18
.gitea/workflows/build.yaml
Normal 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
|
Reference in New Issue
Block a user