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@gmail.com>
(cherry picked from commit 2781e3839e)
This commit is contained in:
Christian Marangi 2022-10-04 18:38:57 +02:00 committed by Josef Schlehofer
parent 3ba78a839a
commit c95622ac6e
No known key found for this signature in database
GPG Key ID: B950216FE4329F4C
1 changed files with 2 additions and 1 deletions

View 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}"