docker-Espressif.yml 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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. runs-on: ubuntu-latest
  16. # This should be a safe limit for the tests to run.
  17. timeout-minutes: 12
  18. container:
  19. image: espressif/idf:latest
  20. steps:
  21. - uses: actions/checkout@v4
  22. - name: Initialize Espressif IDE and build examples
  23. run: . /opt/esp/idf/export.sh; IDE/Espressif/ESP-IDF/compileAllExamples.sh
  24. espressif_v4_4:
  25. name: v4.4 Docker container
  26. runs-on: ubuntu-latest
  27. container:
  28. image: espressif/idf:release-v4.4
  29. steps:
  30. - uses: actions/checkout@v4
  31. - name: Initialize Espressif IDE and build examples
  32. run: . /opt/esp/idf/export.sh; IDE/Espressif/ESP-IDF/compileAllExamples.sh
  33. espressif_v5_0:
  34. name: v5.0 Docker container
  35. runs-on: ubuntu-latest
  36. container:
  37. image: espressif/idf:release-v5.0
  38. steps:
  39. - uses: actions/checkout@v4
  40. - name: Initialize Espressif IDE and build examples
  41. run: . /opt/esp/idf/export.sh; IDE/Espressif/ESP-IDF/compileAllExamples.sh