build.yaml 706 B

123456789101112131415161718192021222324252627
  1. name: CI
  2. on:
  3. push:
  4. branches: [ main ]
  5. jobs:
  6. build-fap:
  7. runs-on: ubuntu-latest
  8. container:
  9. image: an4tur0r/flipperzero-unleashed:latest
  10. env:
  11. APP_NAME: xbox_controller
  12. volumes:
  13. - ${{ github.workspace }}:/flipperzero-unleashed/applications_user/xbox_controller
  14. options: --cpus 1
  15. steps:
  16. - uses: actions/checkout@v3
  17. - name: Build
  18. run: |
  19. cd /flipperzero-unleashed
  20. ./fbt fap_xbox_controller
  21. cp build/f7-firmware-D/.extapps/xbox_controller.fap applications_user/xbox_controller/
  22. - uses: actions/upload-artifact@v3
  23. with:
  24. name: xbox_controller
  25. path: ./xbox_controller.fap