CI: package kmods in kernel workflow
authorChristian Marangi <ansuelsmth@gmail.com>
Sat, 10 Sep 2022 19:18:10 +0000 (21:18 +0200)
committerJosef Schlehofer <pepe.schlehofer@gmail.com>
Sun, 4 Dec 2022 15:26:59 +0000 (16:26 +0100)
Actually package kmods in kernel workflow to catch dependency error and
other problem that may arise from kmods packaging.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
(cherry picked from commit 0c45db5560df47a0344a21c2443a4f2889c42ac8)

.github/workflows/kernel.yml

index 43f843b2568ddc653f2ae175e50737159789b555..4f8c6b9317c0cb24f8c40f20b182dcbbb01ec137 100644 (file)
@@ -158,6 +158,11 @@ jobs:
         working-directory: openwrt
         run: make target/compile -j$(nproc) BUILD_LOG=1
 
+      - name: Build Kernel Kmods
+        shell: su buildbot -c "sh -e {0}"
+        working-directory: openwrt
+        run: make package/linux/compile -j$(nproc) BUILD_LOG=1
+
       - name: Upload logs
         if: failure()
         uses: actions/upload-artifact@v2