2
0

docker-Espressif.yml 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. name: Espressif examples tests
  2. # START OF COMMON SECTION
  3. on:
  4. push:
  5. branches: [ 'master', 'main', 'release/**' ]
  6. pull_request:
  7. branches: [ '*' ]
  8. concurrency:
  9. group: ${{ github.workflow }}-${{ github.ref }}
  10. cancel-in-progress: true
  11. # END OF COMMON SECTION
  12. jobs:
  13. espressif_latest:
  14. name: latest Docker container
  15. if: github.repository_owner == 'wolfssl'
  16. runs-on: ubuntu-22.04
  17. # This should be a safe limit for the tests to run.
  18. timeout-minutes: 12
  19. container:
  20. image: espressif/idf:latest
  21. steps:
  22. - uses: actions/checkout@v4
  23. - name: Initialize Espressif IDE and build examples
  24. run: cd /opt/esp/idf && . ./export.sh && cd $GITHUB_WORKSPACE; IDE/Espressif/ESP-IDF/compileAllExamples.sh
  25. espressif_v4_4:
  26. name: v4.4 Docker container
  27. if: github.repository_owner == 'wolfssl'
  28. runs-on: ubuntu-22.04
  29. container:
  30. image: espressif/idf:release-v4.4
  31. steps:
  32. - uses: actions/checkout@v4
  33. - name: Initialize Espressif IDE and build examples
  34. run: cd /opt/esp/idf && . ./export.sh && cd $GITHUB_WORKSPACE; IDE/Espressif/ESP-IDF/compileAllExamples.sh
  35. espressif_v5_0:
  36. name: v5.0 Docker container
  37. if: github.repository_owner == 'wolfssl'
  38. runs-on: ubuntu-22.04
  39. container:
  40. image: espressif/idf:release-v5.0
  41. steps:
  42. - uses: actions/checkout@v4
  43. - name: Initialize Espressif IDE and build examples
  44. run: cd /opt/esp/idf && . ./export.sh && cd $GITHUB_WORKSPACE; IDE/Espressif/ESP-IDF/compileAllExamples.sh