Attempt to setup gitea build action
Some checks failed
Build ptprnt / build (push) Failing after 10s
Some checks failed
Build ptprnt / build (push) Failing after 10s
This commit is contained in:
20
.gitea/workflows/build.yaml
Normal file
20
.gitea/workflows/build.yaml
Normal 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
|
Reference in New Issue
Block a user