From 9e56e21def492f83ee5a7390173a042484a4958a Mon Sep 17 00:00:00 2001 From: PProvost Date: Thu, 14 May 2020 13:02:07 -0600 Subject: [PATCH] Caching arm compiler for builds --- .github/workflows/ci_cortex_m4.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/ci_cortex_m4.yml b/.github/workflows/ci_cortex_m4.yml index 008e26b7..90891ef3 100644 --- a/.github/workflows/ci_cortex_m4.yml +++ b/.github/workflows/ci_cortex_m4.yml @@ -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