[openwrt/openwrt] CI: kernel: generate ccache cache on kernel push

LEDE Commits lede-commits at lists.infradead.org
Tue Oct 11 07:47:31 PDT 2022


ansuel pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/23e946d1aded1fc21125704c0819146d5772d72b

commit 23e946d1aded1fc21125704c0819146d5772d72b
Author: Christian Marangi <ansuelsmth at gmail.com>
AuthorDate: Sat Oct 8 19:25:54 2022 +0200

    CI: kernel: generate ccache cache on kernel push
    
    To actually use ccache cache on kernel test from pr, the kernel workflow
    has to be run first from a push action.
    
    This will permit as a side effect to test merged commits and catch commit
    that may cause regression in kernel compilation even outside the github
    system.
    
    Signed-off-by: Christian Marangi <ansuelsmth at gmail.com>
---
 .github/workflows/kernel.yml | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/.github/workflows/kernel.yml b/.github/workflows/kernel.yml
index 0ba8c27e2e..25d6d265eb 100644
--- a/.github/workflows/kernel.yml
+++ b/.github/workflows/kernel.yml
@@ -7,6 +7,12 @@ on:
       - 'include/kernel-*'
       - 'package/kernel/**'
       - 'target/linux/generic/**'
+  push:
+    paths:
+      - '.github/workflows/kernel.yml'
+      - 'include/kernel-*'
+      - 'package/kernel/**'
+      - 'target/linux/generic/**'
 
 permissions:
   contents: read




More information about the lede-commits mailing list