From 21826afb3e05963b3f40b5b0af1e2e43371c6f90 Mon Sep 17 00:00:00 2001 From: Christophe Favergeon Date: Wed, 26 Jun 2024 07:56:08 +0200 Subject: [PATCH] Move boost in CPP github action --- .github/workflows/runcpptest.yaml | 31 ++++++++++++++++--------------- 1 file changed, 16 insertions(+), 15 deletions(-) diff --git a/.github/workflows/runcpptest.yaml b/.github/workflows/runcpptest.yaml index f284bdc1..28c3cf6b 100644 --- a/.github/workflows/runcpptest.yaml +++ b/.github/workflows/runcpptest.yaml @@ -51,6 +51,22 @@ jobs: - name: Activate Arm tool license uses: ARM-software/cmsis-actions/armlm@v1 + - name: Cache boost + id: cache-boost + uses: actions/cache@v4 + with: + key: boost-cmsis-dsp + restore-keys: | + boost-cmsis-dsp + path: ${{ github.workspace }}/boost_1_84_0 + + - name: Install boost + if: steps.cache-boost.outputs.cache-hit != 'true' + run: | + echo "Install boost" + curl -o boost.tar.gz https://archives.boost.io/release/1.84.0/source/boost_1_84_0.tar.gz + tar -xf boost.tar.gz + - name: Prepare framework run: | cd dsppp @@ -68,21 +84,6 @@ jobs: cat required_packs.txt cpackget add -a -f required_packs.txt - - name: Cache boost - id: cache-boost - uses: actions/cache@v4 - with: - key: boost-cmsis-dsp - restore-keys: | - boost-cmsis-dsp - path: ${{ github.workspace }}/boost_1_84_0 - - - name: Install boost - if: steps.cache-boost.outputs.cache-hit != 'true' - run: | - echo "Install boost" - curl -o boost.tar.gz https://archives.boost.io/release/1.84.0/source/boost_1_84_0.tar.gz - tar -xf boost.tar.gz - name: Execute run: |