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>
This commit is contained in:
Christian Marangi 2022-10-04 18:38:57 +02:00
parent ee38573093
commit 2781e3839e
No known key found for this signature in database
GPG Key ID: AC001D09ADBFEAD7

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