mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-27 11:26:48 +00:00
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 2781e3839e7f4f6132a2737ee9f988f40fa58d99)
This commit is contained in:
parent
3ba78a839a
commit
c95622ac6e
3
.github/workflows/tools.yml
vendored
3
.github/workflows/tools.yml
vendored
@ -110,7 +110,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
chown -R buildbot:buildbot openwrt
|
chown -R buildbot:buildbot openwrt
|
||||||
|
|
||||||
- name: Set AUTOREMOVE config for tools container
|
- name: Set configs for tools container
|
||||||
if: github.event_name == 'push'
|
if: github.event_name == 'push'
|
||||||
shell: su buildbot -c "sh -e {0}"
|
shell: su buildbot -c "sh -e {0}"
|
||||||
working-directory: openwrt
|
working-directory: openwrt
|
||||||
@ -118,6 +118,7 @@ jobs:
|
|||||||
touch .config
|
touch .config
|
||||||
echo CONFIG_DEVEL=y >> .config
|
echo CONFIG_DEVEL=y >> .config
|
||||||
echo CONFIG_AUTOREMOVE=y >> .config
|
echo CONFIG_AUTOREMOVE=y >> .config
|
||||||
|
echo CONFIG_CCACHE=y >> .config
|
||||||
|
|
||||||
- name: Make prereq
|
- name: Make prereq
|
||||||
shell: su buildbot -c "sh -e {0}"
|
shell: su buildbot -c "sh -e {0}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user