Skip to content

Commit

Permalink
trying ccache in docker
Browse files Browse the repository at this point in the history
  • Loading branch information
dernasherbrezon committed Dec 17, 2023
1 parent 0feca4a commit 47d2a4d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,12 @@ jobs:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
run: |
sonar-scanner --define sonar.cfamily.build-wrapper-output="./test/${{ env.BUILD_WRAPPER_OUT_DIR }}"
- name: Cache ccache
uses: actions/cache@v3
with:
path: ~/ccache
key: ${{ runner.os }}-ccache
restore-keys: ${{ runner.os }}-ccache
- name: Build examples
run: |
export IDF_TARGET=$(echo "esp32" | tr '[:upper:]' '[:lower:]' | tr -d '_-')
Expand All @@ -58,9 +64,3 @@ jobs:
-w "/app/${{ github.repository }}/examples/receive_fsk_filtered" espressif/idf:v5.1.2 \
/bin/bash -c 'git config --global --add safe.directory "*" && idf.py --ccache build'
shell: bash
- name: Cache ccache
uses: actions/cache@v3
with:
path: ~/ccache
key: ${{ runner.os }}-ccache
restore-keys: ${{ runner.os }}-ccache

0 comments on commit 47d2a4d

Please sign in to comment.