dexedrine/.gitea/workflows/build.yaml
Robert Morrison 84274f6a53
Some checks failed
build / build (push) Failing after 13s
ci(build): Check the unit file made is valid.
While it isn't feasible to run the executable (due to it not having any
way of stopping itself) I can verify the unit file after making the
project.
So at least one thing is being tested.
2024-07-03 22:07:06 +01:00

25 lines
463 B
YAML

name: build
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Prepare apt
run: sudo apt-get update
- name: Install dependencies
run: sudo apt-get install -y libbsd-dev libsystemd-dev
- name: Run make
run: make
- name: Test unit file
run: systemd-analyze verify dexedrine.service