build_push.yml 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. name: Build and Push
  2. on:
  3. push:
  4. branches: [ "master" ]
  5. pull_request:
  6. branches: [ "master" ]
  7. workflow_dispatch:
  8. jobs:
  9. # This workflow contains a single job called "build"
  10. build:
  11. name: Build Marauder Binaries
  12. runs-on: ubuntu-latest
  13. steps:
  14. - name: Checkout Code
  15. uses: actions/checkout@v3
  16. - name: Install TFT_eSPI
  17. uses: actions/checkout@v2
  18. with:
  19. repository: justcallmekoko/TFT_eSPI
  20. ref: master
  21. path: CustomTFT_eSPI
  22. - name: Install LinkedList
  23. uses: actions/checkout@v2
  24. with:
  25. repository: ivanseidel/LinkedList
  26. ref: master
  27. path: CustomLinkedList
  28. - name: Install lv_arduino
  29. uses: actions/checkout@v2
  30. with:
  31. repository: lvgl/lv_arduino
  32. ref: master
  33. path: Customlv_arduino
  34. - name: Install JPEGDecoder
  35. uses: actions/checkout@v2
  36. with:
  37. repository: Bodmer/JPEGDecoder
  38. ref: master
  39. path: CustomJPEGDecoder
  40. - name: Install NimBLE-Arduino
  41. uses: actions/checkout@v2
  42. with:
  43. repository: h2zero/NimBLE-Arduino
  44. ref: master
  45. path: CustomNimBLE-Arduino
  46. - name: Install Adafruit_NeoPixel
  47. uses: actions/checkout@v2
  48. with:
  49. repository: adafruit/Adafruit_NeoPixel
  50. ref: master
  51. path: CustomAdafruit_NeoPixel
  52. - name: Install ArduinoJson
  53. uses: actions/checkout@v2
  54. with:
  55. repository: bblanchon/ArduinoJson
  56. ref: v6.18.2
  57. path: CustomArduinoJson
  58. - name: Install SwitchLib
  59. uses: actions/checkout@v2
  60. with:
  61. repository: justcallmekoko/SwitchLib
  62. ref: main
  63. path: CustomSwitchLib
  64. # Setup Test compile for Arduino
  65. - name: Build Marauder for Flipper Zero WiFi Dev Board
  66. uses: ArminJo/arduino-test-compile@v3.2.0
  67. with:
  68. sketch-names: esp32_marauder.ino
  69. arduino-board-fqbn: esp32:esp32:esp32s2
  70. platform-url: https://github.com/espressif/arduino-esp32/releases/download/2.0.0-rc1/package_esp32_dev_index.json
  71. extra-arduino-cli-args: "--warnings all"
  72. extra-arduino-lib-install-args: "-zmuldefs"