File: ci.yml

package info (click to toggle)
systemd-netlogd 1.4.5-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,148 kB
  • sloc: ansic: 14,070; makefile: 29; python: 20; sh: 13
file content (29 lines) | stat: -rw-r--r-- 849 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
name: systemd-netlogd CI

on:
  push:
    branches: [ "main" ]
  pull_request:
    branches: [ "main" ]

jobs:
  build:

    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v4
    - name: update
      run: sudo apt-get update
    - name: install build essentials
      run: sudo apt-get install -y python3-sphinx ninja-build meson glib-2.0-dev libudev-dev libsystemd-dev clang gperf libcap-dev build-essential
    - name: build
      run: make
    - name: install
      run: sudo make install
    - name: add systemd-journal-netlog user
      run: sudo useradd -r -d / -s /usr/sbin/nologin -g systemd-journal systemd-journal-netlog
    - name: start systemd-netlogd
      run: sudo systemctl daemon-reload; sudo systemctl start systemd-netlogd
    - name: show status systemd-netlogd
      run: sudo systemctl status systemd-netlogd