build_push.yml 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  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. # The type of runner that the job will run on
  13. runs-on: ubuntu-latest
  14. # Steps represent a sequence of tasks that will be executed as part of the job
  15. strategy:
  16. matrix:
  17. arduino-board-fqbn:
  18. - esp32:esp32:esp32s2
  19. include:
  20. - arduino-boards-fqbn: esp32:esp32:esp32s2
  21. extra-arduino-cli-args: "--warnings all -zmuldefs"
  22. steps:
  23. # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
  24. - name: Checkout Code
  25. uses: actions/checkout@v3
  26. - name: Install TFT_eSPI
  27. uses: actions/checkout@v2
  28. with:
  29. repository: justcallmekoko/TFT_eSPI
  30. ref: master
  31. path: CustomTFT_eSPI
  32. - name: Install LinkedList
  33. uses: actions/checkout@v2
  34. with:
  35. repository: ivanseidel/LinkedList
  36. ref: master
  37. path: CustomLinkedList
  38. - name: Install lv_arduino
  39. uses: actions/checkout@v2
  40. with:
  41. repository: lvgl/lv_arduino
  42. ref: master
  43. path: Customlv_arduino
  44. - name: Install JPEGDecoder
  45. uses: actions/checkout@v2
  46. with:
  47. repository: Bodmer/JPEGDecoder
  48. ref: master
  49. path: CustomJPEGDecoder
  50. - name: Install NimBLE-Arduino
  51. uses: actions/checkout@v2
  52. with:
  53. repository: h2zero/NimBLE-Arduino
  54. ref: master
  55. path: CustomNimBLE-Arduino
  56. - name: Install Adafruit_NeoPixel
  57. uses: actions/checkout@v2
  58. with:
  59. repository: adafruit/Adafruit_NeoPixel
  60. ref: master
  61. path: CustomAdafruit_NeoPixel
  62. - name: Install ArduinoJson
  63. uses: actions/checkout@v2
  64. with:
  65. repository: bblanchon/ArduinoJson
  66. ref: v6.18.2
  67. path: CustomArduinoJson
  68. - name: Install SwitchLib
  69. uses: actions/checkout@v2
  70. with:
  71. repository: justcallmekoko/SwitchLib
  72. ref: main
  73. path: CustomSwitchLib
  74. # Setup Test compile for Arduino
  75. - name: Build Marauder for Flipper Zero WiFi Dev Board
  76. uses: ArminJo/arduino-test-compile@v3.0.0
  77. with:
  78. sketch-names: esp32_marauder.ino
  79. #arduino-board-fqbn: esp32:esp32:esp32s2
  80. platform-url: https://github.com/espressif/arduino-esp32/releases/download/2.0.0-rc1/package_esp32_dev_index.json
  81. arduino-board-fqbn: ${{ matrix.arduino-board-fqbn }}
  82. extra-arduino-cli-args: ${{ matrix.extra-arduino-cli-args }}
  83. #extra-arduino-cli-args: "-w"
  84. #extra-arduino-lib-install-args: "-zmuldefs"