build_push.yml 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  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. - name: Find and Replace
  65. uses: jacobtomlinson/gha-find-replace@v2
  66. with:
  67. find: "ESP32 Marauder"
  68. replace: "compiler.c.elf.libs.esp32s2=-zmuldefs "
  69. regex: false
  70. # Setup Test compile for Arduino
  71. - name: Build Marauder for Flipper Zero WiFi Dev Board
  72. uses: ArminJo/arduino-test-compile@v3.2.0
  73. with:
  74. sketch-names: esp32_marauder.ino
  75. arduino-board-fqbn: esp32:esp32:esp32s2
  76. platform-url: https://github.com/espressif/arduino-esp32/releases/download/2.0.0-rc1/package_esp32_dev_index.json
  77. extra-arduino-cli-args: "--warnings none"
  78. #extra-arduino-lib-install-args: "-zmuldefs"