Skip to content

Commit 98a20b2

Browse files
fabiobaltierikartben
authored andcommitted
ci: set various ccache-cache-key parameters for the setup action
The setup action now supports caching the ccache objects, set a ccache-cache-key for the jobs that can benefit from it, disable it from the ones that don't really build anything. Signed-off-by: Fabio Baltieri <[email protected]>
1 parent b27ab80 commit 98a20b2

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

.github/workflows/hello_world_multiplatform.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ jobs:
6363
with:
6464
app-path: zephyr
6565
toolchains: aarch64-zephyr-elf:arc-zephyr-elf:arc64-zephyr-elf:arm-zephyr-eabi:mips-zephyr-elf:riscv64-zephyr-elf:sparc-zephyr-elf:x86_64-zephyr-elf:xtensa-dc233c_zephyr-elf:xtensa-sample_controller32_zephyr-elf:rx-zephyr-elf
66+
ccache-cache-key: hw-${{ matrix.os }}
6667

6768
- name: Build firmware
6869
working-directory: zephyr

.github/workflows/twister.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ jobs:
6969
with:
7070
app-path: zephyr
7171
toolchains: all
72+
enable-ccache: false
7273

7374
- name: Environment Setup
7475
working-directory: zephyr

.github/workflows/twister_tests_blackbox.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ jobs:
4949
with:
5050
app-path: zephyr
5151
toolchains: all
52+
enable-ccache: false
5253

5354
- name: Run Pytest For Twister Black Box Tests
5455
if: ${{ runner.os == 'Linux' }}

0 commit comments

Comments
 (0)