build.yml 918 B

1234567891011121314151617181920212223242526272829303132
  1. name: Build and Test
  2. on:
  3. push:
  4. branches:
  5. - main
  6. pull_request:
  7. branches:
  8. - main
  9. jobs:
  10. build:
  11. runs-on: ubuntu-latest
  12. steps:
  13. - name: Checkout code
  14. uses: actions/checkout@v2
  15. - name: Espressif IoT Development Framework (ESP-IDF)
  16. # You may pin to the exact commit or the version.
  17. # uses: espressif/esp-idf-ci-action@8cd22ae10042fadc37890e81e9988a9113e7b506
  18. uses: espressif/esp-idf-ci-action@v1.1.0
  19. with:
  20. # Relative path under $GITHUB_WORKSPACE to place the repository
  21. #path: # optional, default is
  22. # Version of ESP-IDF docker image to use
  23. esp_idf_version: release-v5.4
  24. # ESP32 variant to build for
  25. target: esp32s3
  26. # Command to run inside the docker container (default: builds the project)
  27. # command: # optional, default is idf.py build