Skip to content

Commit a9abc93

Browse files
committed
github: add test that all linux headers are copied
1 parent a49c4de commit a9abc93

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ env:
88
NLTST_IN_CI: 1
99

1010
jobs:
11-
clang-format:
11+
lint:
1212
runs-on: ubuntu-latest
1313
container:
1414
image: fedora:41
@@ -31,6 +31,14 @@ jobs:
3131
clang-format --version
3232
./tools/clang-format.sh -n
3333
34+
- name: Check Linux Header Copy
35+
run: |
36+
git grep '# *[i]nclude.*linux' \
37+
| grep -v "^python/netlink/genl/capi.i:" \
38+
| sed 's/.*include <\(linux\/[^>]*\)>.*$/include\/linux-private\/\1/' \
39+
| sort -u \
40+
| xargs -d '\n' ls -la
41+
3442
ci:
3543
strategy:
3644
matrix:

0 commit comments

Comments
 (0)