build.yaml 752 B

123456789101112131415161718192021222324
  1. name: "FAP: Build and lint"
  2. on: [push, pull_request]
  3. jobs:
  4. ufbt-build-action:
  5. runs-on: ubuntu-latest
  6. name: 'ufbt: Build for Dev branch'
  7. steps:
  8. - name: Checkout
  9. uses: actions/checkout@v4
  10. - name: Lint sources
  11. uses: flipperdevices/flipperzero-ufbt-action@v0.1
  12. with:
  13. task: lint
  14. - name: Build with ufbt
  15. uses: flipperdevices/flipperzero-ufbt-action@v0.1
  16. id: build-app
  17. with:
  18. skip-setup: true
  19. sdk-channel: dev
  20. - name: Upload app artifacts
  21. uses: actions/upload-artifact@v3
  22. with:
  23. name: ${{ github.event.repository.name }}-${{ steps.build-app.outputs.suffix }}
  24. path: ${{ steps.build-app.outputs.fap-artifacts }}