File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4242 ccache-host-
4343
4444 - name : Build host examples
45- run : python3 scripts/build_examples.py --host
45+ run : |
46+ mkdir -p ~/.cache/ccache
47+ python3 scripts/build_examples.py --host
4648 env :
4749 CCACHE_DIR : ~/.cache/ccache
4850
5961 - name : Install build tools
6062 run : |
6163 sudo apt-get update
62- sudo apt-get install -y cmake gcc-arm-none-eabi libnewlib-arm-none-eabi ninja-build
64+ sudo apt-get install -y cmake gcc-arm-none-eabi libnewlib-arm-none-eabi ninja-build ccache
65+
66+ - name : Cache ccache
67+ uses : actions/cache@v4
68+ with :
69+ path : ~/.cache/ccache
70+ key : ccache-stm32-${{ github.run_id }}
71+ restore-keys : |
72+ ccache-stm32-
6373
6474 - name : Build STM32 examples
65- run : python3 scripts/build_examples.py --stm32
75+ run : |
76+ mkdir -p ~/.cache/ccache
77+ python3 scripts/build_examples.py --stm32
78+ env :
79+ CCACHE_DIR : ~/.cache/ccache
You can’t perform that action at this time.
0 commit comments