CI: tools: compile tools with ccache support for tools container
authorChristian Marangi <ansuelsmth@gmail.com>
Tue, 4 Oct 2022 16:38:57 +0000 (18:38 +0200)
committerJosef Schlehofer <pepe.schlehofer@gmail.com>
Sun, 4 Dec 2022 15:27:00 +0000 (16:27 +0100)
Enable ccache support for tools container, useful to speedup other
workflow even more.

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

.github/workflows/tools.yml

index 573bb468b95917e81dac6dc4dfd87f8109eee093..f48361536362c32a6a6c383c7b36fe6def607c30 100644 (file)
@@ -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}"