We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4d5d09b commit 833e2a7Copy full SHA for 833e2a7
1 file changed
.github/workflows/kunit.yml
@@ -0,0 +1,27 @@
1
+name: KUnit
2
+
3
+on:
4
+ push:
5
+ branches: [ "main" ]
6
+ pull_request:
7
8
9
+jobs:
10
+ kunit:
11
12
+ runs-on: ubuntu-latest
13
14
+ steps:
15
+ - uses: actions/checkout@v4
16
+ - name: Install dependencies
17
+ run: |
18
+ sudo apt update
19
+ sudo apt build-dep linux
20
+ - name: Prepare kernel source code
21
22
+ apt source linux
23
+ cp -r strider linux-*/lib/
24
+ echo "source \"lib/strider/Kconfig\"" >> linux-*/lib/Kconfig
25
+ echo "obj-y += strider/" >> linux-*/lib/Makefile
26
+ - name: Run AC test
27
+ run: linux-*/tools/testing/kunit/kunit.py run strider_ac
0 commit comments