mirror of
https://github.com/eclipse-threadx/threadx.git
synced 2025-11-16 04:24:48 +00:00
Caching arm compiler for builds
This commit is contained in:
8
.github/workflows/ci_cortex_m4.yml
vendored
8
.github/workflows/ci_cortex_m4.yml
vendored
@@ -29,9 +29,17 @@ jobs:
|
||||
# - name: Install build-essential
|
||||
# run: sudo apt-get install build-essential
|
||||
|
||||
- name: Cache arm-none-eabi-gcc tools
|
||||
id: cache-arm-gcc
|
||||
uses: actions/cache@v1
|
||||
with:
|
||||
path: $HOME/arm-none-eabi-gcc-9-2019-q4
|
||||
key: ${{ runner.os }}-arm-gcc-9-2019-q4
|
||||
|
||||
# Get the arm-non-eabi-gcc toolchain
|
||||
- name: Install arm-none-eabi-gcc
|
||||
uses: fiam/arm-none-eabi-gcc@v1
|
||||
if: steps.cache-arm-gcc.outputs.cache-hit != 'true'
|
||||
with:
|
||||
release: '9-2019-q4' # The arm-none-eabi-gcc release to use.
|
||||
directory: $HOME/arm-none-eabi-gcc-9-2019-q4
|
||||
|
||||
Reference in New Issue
Block a user