Skip to content

Commit

Permalink
[github-actions] cache ARM Toolchain between builds
Browse files Browse the repository at this point in the history
  • Loading branch information
lmnotran committed May 30, 2024
1 parent 59851e8 commit ff16ca8
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,14 +79,21 @@ jobs:

- name: Restore gecko_sdk LFS cache
uses: actions/cache@v4
id: lfs-cache
id: lfs-cache-gecko_gsdk
with:
path: .git/modules/third_party/silabs/gecko_sdk/lfs
key: lfs-${{ hashFiles('.lfs-assets-id') }}

- name: Git LFS Pull
run: git -C third_party/silabs/gecko_sdk lfs pull

- name: Restore ARM Toolchain
uses: actions/cache@v4
id: cache-arm-toolchain
with:
path: ~/.local/${{ matrix.gcc_extract_dir }}
key: ${{ matrix.gcc_extract_dir }}

- name: Bootstrap ARM Toolchain
run: |
script/bootstrap arm_toolchain ${{ matrix.gcc_download_url }} ${{ matrix.gcc_extract_dir }}
Expand Down

0 comments on commit ff16ca8

Please sign in to comment.