build_dev.yml 974 B

123456789101112131415161718192021222324252627
  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: Build with ufbt
  11. uses: flipperdevices/flipperzero-ufbt-action@v0.1
  12. id: build-app
  13. with:
  14. # Set to 'release' to build for latest published release version
  15. sdk-channel: dev
  16. - name: Upload app artifacts
  17. uses: actions/upload-artifact@v3
  18. with:
  19. name: ${{ github.event.repository.name }}-${{ steps.build-app.outputs.suffix }}
  20. path: ${{ steps.build-app.outputs.fap-artifacts }}
  21. # You can remove this step if you don't want to check source code formatting
  22. - name: Lint sources
  23. uses: flipperdevices/flipperzero-ufbt-action@v0.1
  24. with:
  25. # skip SDK setup, we already did it in previous step
  26. skip-setup: true
  27. task: lint