CI: package kmods in kernel workflow
authorChristian Marangi <ansuelsmth@gmail.com>
Sat, 10 Sep 2022 19:18:10 +0000 (21:18 +0200)
committerChristian Marangi <ansuelsmth@gmail.com>
Sun, 11 Sep 2022 09:06:55 +0000 (11:06 +0200)
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>
.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