My Marlin configs for Fabrikator Mini and CTC i3 Pro B
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

config.yml 10KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275
  1. # Python CircleCI 2.0 configuration file
  2. #
  3. # Check https://circleci.com/docs/2.0/language-python/ for more details
  4. #
  5. version: 2
  6. jobs:
  7. build:
  8. docker:
  9. # specify the version you desire here
  10. # use `-browsers` prefix for selenium tests, e.g. `3.6.1-browsers`
  11. - image: circleci/python:2.7.13
  12. # Specify service dependencies here if necessary
  13. # CircleCI maintains a library of pre-built images
  14. # documented at https://circleci.com/docs/2.0/circleci-images/
  15. # - image: circleci/postgres:9.4
  16. environment:
  17. TEST_PLATFORM: "-e megaatmega2560"
  18. working_directory: ~/Marlin
  19. steps:
  20. - checkout
  21. - restore_cache:
  22. paths:
  23. - ~/.platformio
  24. - ~/Marlin/.piolibdeps
  25. keys:
  26. - v1-dependencies-{{ checksum "~/Marlin/platformio.ini" }}
  27. # fallback to using the latest cache if no exact match is found
  28. - v1-dependencies-
  29. - run:
  30. name: install dependencies
  31. command: |
  32. sudo pip install -U platformio
  33. # run tests!
  34. - run:
  35. name: run tests
  36. command: |
  37. #
  38. #
  39. # Fetch the tag information for the current branch
  40. ls -la
  41. git fetch origin --tags
  42. #
  43. # Publish the buildroot script folder
  44. chmod +x buildroot/bin/*
  45. export PATH=`pwd`/buildroot/bin/:${PATH}
  46. # Generate custom version include
  47. generate_version ./Marlin/src/inc
  48. cat ./Marlin/src/inc/_Version.h
  49. #
  50. # Backup pins_RAMPS.h
  51. #
  52. cp Marlin/src/pins/pins_RAMPS.h Marlin/src/pins/pins_RAMPS.h.backup
  53. #
  54. env_backup
  55. #################################
  56. # Build all sample configurations
  57. #################################
  58. echo testing megaatmega2560 targets...
  59. export TEST_PLATFORM="-e megaatmega2560"
  60. echo use_example_configs adafruit/ST7565
  61. use_example_configs adafruit/ST7565
  62. build_marlin_pio ./ ${TEST_PLATFORM}
  63. restore_configs
  64. echo use_example_configs BQ/Hephestos
  65. use_example_configs BQ/Hephestos
  66. build_marlin_pio ./ ${TEST_PLATFORM}
  67. restore_configs
  68. echo use_example_configs BQ/Hephestos_2
  69. use_example_configs BQ/Hephestos_2
  70. build_marlin_pio ./ ${TEST_PLATFORM}
  71. restore_configs
  72. echo use_example_configs BQ/WITBOX
  73. use_example_configs BQ/WITBOX
  74. build_marlin_pio ./ ${TEST_PLATFORM}
  75. restore_configs
  76. echo use_example_configs AliExpress/CL-260
  77. use_example_configs AliExpress/CL-260
  78. build_marlin_pio ./ ${TEST_PLATFORM}
  79. restore_configs
  80. #echo use_example_configs Cartesio
  81. #use_example_configs Cartesio
  82. #build_marlin_pio ./ ${TEST_PLATFORM}
  83. #restore_configs
  84. echo use_example_configs delta/FLSUN/auto_calibrate
  85. use_example_configs delta/FLSUN/auto_calibrate
  86. build_marlin_pio ./ ${TEST_PLATFORM}
  87. restore_configs
  88. echo use_example_configs delta/FLSUN/kossel_mini
  89. use_example_configs delta/FLSUN/kossel_mini
  90. build_marlin_pio ./ ${TEST_PLATFORM}
  91. restore_configs
  92. echo use_example_configs delta/generic
  93. use_example_configs delta/generic
  94. build_marlin_pio ./ ${TEST_PLATFORM}
  95. restore_configs
  96. echo use_example_configs delta/kossel_mini
  97. use_example_configs delta/kossel_mini
  98. build_marlin_pio ./ ${TEST_PLATFORM}
  99. restore_configs
  100. echo use_example_configs delta/kossel_xl
  101. use_example_configs delta/kossel_xl
  102. build_marlin_pio ./ ${TEST_PLATFORM}
  103. restore_configs
  104. echo use_example_configs Felix
  105. use_example_configs Felix
  106. build_marlin_pio ./ ${TEST_PLATFORM}
  107. restore_configs
  108. echo use_example_configs Felix/DUAL
  109. use_example_configs Felix/DUAL
  110. build_marlin_pio ./ ${TEST_PLATFORM}
  111. restore_configs
  112. echo use_example_configs FolgerTech/i3-2020
  113. use_example_configs FolgerTech/i3-2020
  114. build_marlin_pio ./ ${TEST_PLATFORM}
  115. restore_configs
  116. echo use_example_configs gCreate/gMax1.5+
  117. use_example_configs gCreate/gMax1.5+
  118. build_marlin_pio ./ ${TEST_PLATFORM}
  119. restore_configs
  120. echo use_example_configs Geeetech/GT2560
  121. use_example_configs Geeetech/GT2560
  122. build_marlin_pio ./ ${TEST_PLATFORM}
  123. restore_configs
  124. #echo use_example_configs Geeetech/I3_Pro_X-GT2560
  125. #use_example_configs Geeetech/I3_Pro_X-GT2560
  126. #build_marlin_pio ./ ${TEST_PLATFORM}
  127. #restore_configs
  128. echo use_example_configs Infitary/i3-M508
  129. use_example_configs Infitary/i3-M508
  130. build_marlin_pio ./ ${TEST_PLATFORM}
  131. restore_configs
  132. use_example_configs Malyan/M200
  133. build_marlin_pio ./ ${TEST_PLATFORM}
  134. restore_configs
  135. echo use_example_configs Micromake/C1/basic
  136. use_example_configs Micromake/C1/basic
  137. build_marlin_pio ./ ${TEST_PLATFORM}
  138. restore_configs
  139. echo use_example_configs Micromake/C1/enhanced
  140. use_example_configs Micromake/C1/enhanced
  141. build_marlin_pio ./ ${TEST_PLATFORM}
  142. restore_configs
  143. echo use_example_configs RepRapWorld/Megatronics
  144. use_example_configs RepRapWorld/Megatronics
  145. build_marlin_pio ./ ${TEST_PLATFORM}
  146. restore_configs
  147. echo use_example_configs RigidBot
  148. use_example_configs RigidBot
  149. build_marlin_pio ./ ${TEST_PLATFORM}
  150. restore_configs
  151. echo use_example_configs SCARA
  152. use_example_configs SCARA
  153. build_marlin_pio ./ ${TEST_PLATFORM}
  154. restore_configs
  155. echo use_example_configs Velleman/K8200
  156. use_example_configs Velleman/K8200
  157. build_marlin_pio ./ ${TEST_PLATFORM}
  158. restore_configs
  159. echo use_example_configs Velleman/K8400/Dual-head
  160. use_example_configs Velleman/K8400/Dual-head
  161. build_marlin_pio ./ ${TEST_PLATFORM}
  162. restore_configs
  163. echo use_example_configs Velleman/K8400
  164. use_example_configs Velleman/K8400
  165. build_marlin_pio ./ ${TEST_PLATFORM}
  166. restore_configs
  167. echo use_example_configs Wanhao/Duplicator6
  168. use_example_configs Wanhao/Duplicator6
  169. build_marlin_pio ./ ${TEST_PLATFORM}
  170. restore_configs
  171. # Requires manual load of https://github.com/stawel/SlowSoftI2CMaster
  172. #use_example_configs wt150
  173. #build_marlin_pio ./ ${TEST_PLATFORM}
  174. #restore_configs
  175. echo testing melzi targets...
  176. export TEST_PLATFORM="-e melzi"
  177. echo use_example_configs Anet/A6
  178. use_example_configs Anet/A6
  179. build_marlin_pio ./ ${TEST_PLATFORM}
  180. restore_configs
  181. echo use_example_configs Anet/A8
  182. use_example_configs Anet/A8
  183. build_marlin_pio ./ ${TEST_PLATFORM}
  184. restore_configs
  185. echo use_example_configs Creality/CR-10
  186. use_example_configs Creality/CR-10
  187. build_marlin_pio ./ ${TEST_PLATFORM}
  188. restore_configs
  189. echo use_example_configs Malyan/M150
  190. use_example_configs Malyan/M150
  191. build_marlin_pio ./ ${TEST_PLATFORM}
  192. restore_configs
  193. echo use_example_configs Sanguinololu
  194. use_example_configs Sanguinololu
  195. build_marlin_pio ./ ${TEST_PLATFORM}
  196. restore_configs
  197. echo use_example_configs TinyBoy2
  198. use_example_configs TinyBoy2
  199. build_marlin_pio ./ ${TEST_PLATFORM}
  200. restore_configs
  201. echo testing rambo targets...
  202. export TEST_PLATFORM="-e rambo"
  203. echo use_example_configs AlephObjects/TAZ4
  204. use_example_configs AlephObjects/TAZ4
  205. build_marlin_pio ./ ${TEST_PLATFORM}
  206. restore_configs
  207. echo testing at90usb1286_* targets...
  208. export TEST_PLATFORM="-e at90usb1286_dfu"
  209. #echo se_example_configs delta/kossel_pro
  210. #use_example_configs delta/kossel_pro
  211. #build_marlin_pio ./ ${TEST_PLATFORM}
  212. #restore_configs
  213. echo use_example_configs makibox
  214. use_example_configs makibox
  215. build_marlin_pio ./ ${TEST_PLATFORM}
  216. restore_configs
  217. echo testing sanguino_atmega644p targets...
  218. export TEST_PLATFORM="-e sanguino_atmega644p"
  219. echo use_example_configs tvrrug/Round2
  220. use_example_configs tvrrug/Round2
  221. build_marlin_pio ./ ${TEST_PLATFORM}
  222. restore_configs
  223. echo testing LPC1768 targets...
  224. export TEST_PLATFORM="-e LPC1768"
  225. echo use_example_configs Mks/Sbase
  226. use_example_configs Mks/Sbase
  227. build_marlin_pio ./ ${TEST_PLATFORM}
  228. restore_configs
  229. echo testing STM32F1 targets...
  230. export TEST_PLATFORM="-e STM32F1"
  231. restore_configs
  232. echo use_example_configs STM32F10
  233. use_example_configs STM32F10
  234. build_marlin_pio ./ ${TEST_PLATFORM}
  235. restore_configs
  236. echo use_example_configs stm32f103ret6
  237. use_example_configs stm32f103ret6
  238. build_marlin_pio ./ ${TEST_PLATFORM}
  239. restore_configs
  240. echo testing DUE targets...
  241. export TEST_PLATFORM="-e DUE"
  242. #echo use_example_configs UltiMachine/Archim2
  243. #use_example_configs UltiMachine/Archim2
  244. #build_marlin_pio ./ ${TEST_PLATFORM}
  245. #restore_configs
  246. #
  247. # Remove temp files from dependencies tree prior to caching
  248. rm -rf ~/Marlin/.piolibdeps/_tmp_*
  249. #
  250. # Restore the environment
  251. #
  252. env_restore
  253. - save_cache:
  254. paths:
  255. - ~/.platformio
  256. - ~/Marlin/.piolibdeps
  257. key: v1-dependencies-{{ checksum "~/Marlin/platformio.ini" }}