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