build_push.yml 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154
  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. install_libs:
  11. name: Install Libraries
  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. build:
  65. name: Build Marauder binaries
  66. # The type of runner that the job will run on
  67. runs-on: ubuntu-latest
  68. # Steps represent a sequence of tasks that will be executed as part of the job
  69. steps:
  70. # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
  71. # - name: Checkout Code
  72. # uses: actions/checkout@v3
  73. # - name: Install TFT_eSPI
  74. # uses: actions/checkout@v2
  75. # with:
  76. # repository: justcallmekoko/TFT_eSPI
  77. # ref: master
  78. # path: CustomTFT_eSPI
  79. # - name: Install LinkedList
  80. # uses: actions/checkout@v2
  81. # with:
  82. # repository: ivanseidel/LinkedList
  83. # ref: master
  84. # path: CustomLinkedList
  85. # - name: Install lv_arduino
  86. # uses: actions/checkout@v2
  87. # with:
  88. # repository: lvgl/lv_arduino
  89. # ref: master
  90. # path: Customlv_arduino
  91. # - name: Install JPEGDecoder
  92. # uses: actions/checkout@v2
  93. # with:
  94. # repository: Bodmer/JPEGDecoder
  95. # ref: master
  96. # path: CustomJPEGDecoder
  97. # - name: Install NimBLE-Arduino
  98. # uses: actions/checkout@v2
  99. # with:
  100. # repository: h2zero/NimBLE-Arduino
  101. # ref: master
  102. # path: CustomNimBLE-Arduino
  103. # - name: Install Adafruit_NeoPixel
  104. # uses: actions/checkout@v2
  105. # with:
  106. # repository: adafruit/Adafruit_NeoPixel
  107. # ref: master
  108. # path: CustomAdafruit_NeoPixel
  109. # - name: Install ArduinoJson
  110. # uses: actions/checkout@v2
  111. # with:
  112. # repository: bblanchon/ArduinoJson
  113. # ref: v6.18.2
  114. # path: CustomArduinoJson
  115. # - name: Install SwitchLib
  116. # uses: actions/checkout@v2
  117. # with:
  118. # repository: justcallmekoko/SwitchLib
  119. # ref: main
  120. # path: CustomSwitchLib
  121. # Setup Test compile for Arduino
  122. - name: Build Marauder for Flipper Zero WiFi Dev Board
  123. uses: ArminJo/arduino-test-compile@v3.2.0
  124. with:
  125. sketch-names: esp32_marauder.ino
  126. arduino-board-fqbn: esp32:esp32:esp32s2
  127. platform-url: https://github.com/espressif/arduino-esp32/releases/download/2.0.0-rc1/package_esp32_dev_index.json
  128. extra-arduino-cli-args: "-w"
  129. extra-arduino-lib-install-args: "-zmuldefs"