pr-build-check.yml 1019 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. name: PR Build Check
  2. on:
  3. pull_request:
  4. branches: [main, dev]
  5. paths:
  6. - 'src/**'
  7. - 'examples/**'
  8. - 'variants/**'
  9. - 'platformio.ini'
  10. - '.github/workflows/pr-build-check.yml'
  11. jobs:
  12. build:
  13. runs-on: ubuntu-latest
  14. strategy:
  15. fail-fast: false
  16. matrix:
  17. environment:
  18. # ESP32-S3 (most common platform)
  19. - Heltec_v3_companion_radio_ble
  20. - Heltec_v3_repeater
  21. - Heltec_v3_room_server
  22. # nRF52
  23. - RAK_4631_companion_radio_ble
  24. - RAK_4631_repeater
  25. - RAK_4631_room_server
  26. # RP2040
  27. - PicoW_repeater
  28. # STM32
  29. - wio-e5-mini_repeater
  30. # ESP32-C6
  31. - LilyGo_Tlora_C6_repeater_
  32. steps:
  33. - name: Clone Repo
  34. uses: actions/checkout@v4
  35. - name: Setup Build Environment
  36. uses: ./.github/actions/setup-build-environment
  37. - name: Build ${{ matrix.environment }}
  38. run: pio run -e ${{ matrix.environment }}