Skip to content

Commit cc4b416

Browse files
committed
.github: Add no-libsystemd CI configuration
Add a build without libsystemd present, so we can catch any issues that arise from the non-mctpd build. Enable verbose test output while we're at it. Signed-off-by: Jeremy Kerr <[email protected]>
1 parent a8f8f5e commit cc4b416

File tree

1 file changed

+27
-2
lines changed

1 file changed

+27
-2
lines changed

.github/workflows/pr.yml

Lines changed: 27 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: pull-request-ci
22
on: [push, pull_request]
33
jobs:
4-
run-tests:
4+
default:
55
runs-on: ubuntu-latest
66
steps:
77
- uses: actions/checkout@v4
@@ -27,4 +27,29 @@ jobs:
2727
run: ninja -C build clang-format-check
2828

2929
- name: Test mctp
30-
run: meson test -C build
30+
run: meson test -C build --verbose
31+
32+
no-libsystemd:
33+
runs-on: ubuntu-latest
34+
steps:
35+
- uses: actions/checkout@v4
36+
37+
- name: Install system build dependencies
38+
run: >
39+
sudo apt-get update &&
40+
sudo apt-get install ninja-build
41+
42+
- name: Install meson
43+
run: pip install --user meson
44+
45+
- name: Install python dependencies for mctp tests
46+
run: pip install --user -r tests/requirements.txt
47+
48+
- name: Configure mctp build
49+
run: meson setup build -Db_sanitize=address
50+
51+
- name: Build mctp
52+
run: meson compile -C build
53+
54+
- name: Test mctp
55+
run: meson test -C build --verbose

0 commit comments

Comments
 (0)