build-longwaveclock.yml 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. name: "longwave_clock: build for multiple SDK sources"
  2. on:
  3. push:
  4. branches:
  5. - main
  6. pull_request:
  7. branches:
  8. - '**'
  9. jobs:
  10. ufbt-build:
  11. runs-on: ubuntu-latest
  12. strategy:
  13. matrix:
  14. include:
  15. - name: Official Dev channel
  16. sdk-channel: dev
  17. - name: Official Release channel
  18. sdk-channel: release
  19. - name: Unleashed Dev
  20. sdk-index-url: https://up.unleashedflip.com/directory.json
  21. sdk-channel: dev
  22. - name: Unleashed Release
  23. sdk-index-url: https://up.unleashedflip.com/directory.json
  24. sdk-channel: release
  25. - name: Momentum Dev
  26. sdk-index-url: https://up.momentum-fw.dev/firmware/directory.json
  27. sdk-channel: dev
  28. - name: Momentum Release
  29. sdk-index-url: https://up.momentum-fw.dev/firmware/directory.json
  30. sdk-channel: release
  31. name: 'longwave_clock: ufbt build for ${{ matrix.name }}'
  32. steps:
  33. - name: Checkout
  34. uses: actions/checkout@v4
  35. - name: Build with ufbt
  36. uses: flipperdevices/flipperzero-ufbt-action@v0.1.3
  37. id: build-app
  38. with:
  39. sdk-channel: ${{ matrix.sdk-channel }}
  40. sdk-index-url: ${{ matrix.sdk-index-url }}
  41. app-dir: .
  42. - name: Upload app artifacts
  43. uses: actions/upload-artifact@v4
  44. with:
  45. name: longwave_clock-${{ steps.build-app.outputs.suffix }}
  46. path: ${{ steps.build-app.outputs.fap-artifacts }}
  47. - name: Lint sources
  48. uses: flipperdevices/flipperzero-ufbt-action@v0.1.3
  49. with:
  50. # skip SDK setup, we already did it in previous step
  51. skip-setup: true
  52. task: lint