[openwrt/openwrt] CI: tools: compile tools with ccache support for tools container

LEDE Commits lede-commits at lists.infradead.org
Thu Oct 6 06:58:29 PDT 2022


ansuel pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/2781e3839e7f4f6132a2737ee9f988f40fa58d99

commit 2781e3839e7f4f6132a2737ee9f988f40fa58d99
Author: Christian Marangi <ansuelsmth at gmail.com>
AuthorDate: Tue Oct 4 18:38:57 2022 +0200

    CI: tools: compile tools with ccache support for tools container
    
    Enable ccache support for tools container, useful to speedup other
    workflow even more.
    
    Signed-off-by: Christian Marangi <ansuelsmth at gmail.com>
---
 .github/workflows/tools.yml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/tools.yml b/.github/workflows/tools.yml
index 573bb468b9..f483615363 100644
--- a/.github/workflows/tools.yml
+++ b/.github/workflows/tools.yml
@@ -110,7 +110,7 @@ jobs:
         run: |
           chown -R buildbot:buildbot openwrt
 
-      - name: Set AUTOREMOVE config for tools container
+      - name: Set configs for tools container
         if: github.event_name == 'push'
         shell: su buildbot -c "sh -e {0}"
         working-directory: openwrt
@@ -118,6 +118,7 @@ jobs:
           touch .config
           echo CONFIG_DEVEL=y >> .config
           echo CONFIG_AUTOREMOVE=y >> .config
+          echo CONFIG_CCACHE=y >> .config
 
       - name: Make prereq
         shell: su buildbot -c "sh -e {0}"




More information about the lede-commits mailing list