meshcoretel-pr-build-check.yml 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. name: PR Build Check
  2. on:
  3. pull_request:
  4. branches: [ main ]
  5. paths:
  6. - "src/**"
  7. - "examples/**"
  8. - "variants/**"
  9. - "platformio.ini"
  10. - ".github/workflows/meshcoretel-pr-build-check.yml"
  11. jobs:
  12. build:
  13. runs-on: ubuntu-latest
  14. env:
  15. OFFICIAL_MESHCORE_VERSION: ${{ vars.OFFICIAL_MESHCORE_VERSION }}
  16. PLATFORMIO_BUILD_FLAGS: -UMQTT_DEBUG
  17. strategy:
  18. fail-fast: false
  19. matrix:
  20. environment:
  21. # ESP32-S3 / core EastMesh targets
  22. - heltec_v4_companion_radio_wifi
  23. - heltec_v4_repeater_mqtt
  24. - LilyGo_TBeam_1W_companion_radio_wifi
  25. - LilyGo_TBeam_1W_repeater_mqtt
  26. - T_Beam_S3_Supreme_SX1262_companion_radio_wifi
  27. - T_Beam_S3_Supreme_SX1262_repeater_mqtt
  28. steps:
  29. - name: Clone Repo
  30. uses: actions/checkout@v6
  31. - name: Setup Build Environment
  32. uses: ./.github/actions/setup-build-environment
  33. - name: Build ${{ matrix.environment }}
  34. run: pio run -e ${{ matrix.environment }}