File tree 1 file changed +17
-5
lines changed
1 file changed +17
-5
lines changed Original file line number Diff line number Diff line change @@ -30,18 +30,24 @@ jobs:
30
30
fetch-depth : 0
31
31
persist-credentials : false
32
32
33
+ - name : ccache
34
+ uses : hendrikmuhs/ccache-action@v1.2
35
+ with :
36
+ verbose : 1
37
+
38
+ - name : Use west repo cache
39
+ uses : actions/cache/restore@v4
40
+ with :
41
+ path : **/.git
42
+ partial-key : west-git-
43
+
33
44
- name : Initialize
34
45
run : |
35
46
./extra/bootstrap.sh -o=--filter=tree:0
36
47
echo "CORE_TAG=$(git describe --always)" >> "$GITHUB_ENV"
37
48
echo "CORE_ARTIFACT=ArduinoCore-zephyr-$(git describe --always)" >> "$GITHUB_ENV"
38
49
echo "BOARD_NAMES=[ $(cat boards.txt | grep '^[^#]*\.build\.variant' | cut -d '.' -f 1 | xargs printf '"%s",' | sed -e 's/,$//') ]" >> "$GITHUB_ENV"
39
50
40
- - name : ccache
41
- uses : hendrikmuhs/ccache-action@v1.2
42
- with :
43
- verbose : 1
44
-
45
51
- name : Build variants
46
52
run : |
47
53
./extra/build_all.sh -f
57
63
name : ${{ env.CORE_ARTIFACT }}
58
64
path : ${{ env.CORE_ARTIFACT }}.tar.bz2
59
65
66
+ - name : Save west repo cache
67
+ uses : actions/cache/save@v4
68
+ with :
69
+ path : **/.git
70
+ key : west-git-${{ github.event.repository.updated_at }}
71
+
60
72
test-core :
61
73
name : Test ${{ matrix.board }} board
62
74
runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments