dexedrine/.gitea/workflows/build.yaml
Robert Morrison 8c5a844d18
All checks were successful
build / build (push) Successful in 12s
ci(build): allow the unit file to be tested.
As the container that runs the workflow logs in as root it is impossible
to test starting a user service without some work that I cba to do.
But I can at least verify that the unit file is valid
2024-07-03 22:14:47 +01:00

28 lines
544 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: Install dexedrine to the container
run: sudo make install
- name: Test unit file
run: systemd-analyze verify dexedrine.service