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

LEDE Commits lede-commits at lists.infradead.org
Sun Dec 4 07:37:27 PST 2022


ansuel pushed a commit to openwrt/openwrt.git, branch openwrt-21.02:
https://git.openwrt.org/c95622ac6ef071361d32a79d05e10a155f0f75c0

commit c95622ac6ef071361d32a79d05e10a155f0f75c0
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>
    (cherry picked from commit 2781e3839e7f4f6132a2737ee9f988f40fa58d99)
---
 .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