From c95622ac6ef071361d32a79d05e10a155f0f75c0 Mon Sep 17 00:00:00 2001 From: Christian Marangi Date: Tue, 4 Oct 2022 18:38:57 +0200 Subject: [PATCH] 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 (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}"