Skip to content

Commit

Permalink
Move boost in CPP github action
Browse files Browse the repository at this point in the history
  • Loading branch information
christophe0606 committed Jun 26, 2024
1 parent aef9308 commit 21826af
Showing 1 changed file with 16 additions and 15 deletions.
31 changes: 16 additions & 15 deletions .github/workflows/runcpptest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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: |
Expand Down

0 comments on commit 21826af

Please sign in to comment.