build_push.yml 2.6 KB

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