All checks were successful
build / build (push) Successful in 12s
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
28 lines
544 B
YAML
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
|