Skip to content

Commit

Permalink
building examples
Browse files Browse the repository at this point in the history
  • Loading branch information
dernasherbrezon committed Dec 17, 2023
1 parent aa8902b commit 34a22dc
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,13 @@ jobs:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
run: |
sonar-scanner --define sonar.cfamily.build-wrapper-output="./test/${{ env.BUILD_WRAPPER_OUT_DIR }}"
- name: Build examples
- run: |
export IDF_TARGET=$(echo "esp32" | tr '[:upper:]' '[:lower:]' | tr -d '_-')
docker run -t -e IDF_TARGET="${IDF_TARGET}" -e HOME="~/" -v "${GITHUB_WORKSPACE}:/app/${{ github.repository }}" \
-w "/app/${{ github.repository }}/examples/receive_fsk" espressif/idf:v5.1.2 \
/bin/bash -c 'git config --global --add safe.directory "*" && idf.py build'
docker run -t -e IDF_TARGET="${IDF_TARGET}" -e HOME="~/" -v "${GITHUB_WORKSPACE}:/app/${{ github.repository }}" \
-w "/app/${{ github.repository }}/examples/receive_fsk_beacon" espressif/idf:v5.1.2 \
/bin/bash -c 'git config --global --add safe.directory "*" && idf.py build'
shell: bash

0 comments on commit 34a22dc

Please sign in to comment.