My Marlin configs for Fabrikator Mini and CTC i3 Pro B
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

config.yml 10KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274
  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. # Back up pins_RAMPS.h
  51. #
  52. backup_ramps
  53. env_backup
  54. #################################
  55. # Build all sample configurations
  56. #################################
  57. echo testing megaatmega2560 targets...
  58. export TEST_PLATFORM="-e megaatmega2560"
  59. echo use_example_configs adafruit/ST7565
  60. use_example_configs adafruit/ST7565
  61. build_marlin_pio ./ ${TEST_PLATFORM}
  62. restore_configs
  63. echo use_example_configs BQ/Hephestos
  64. use_example_configs BQ/Hephestos
  65. build_marlin_pio ./ ${TEST_PLATFORM}
  66. restore_configs
  67. echo use_example_configs BQ/Hephestos_2
  68. use_example_configs BQ/Hephestos_2
  69. build_marlin_pio ./ ${TEST_PLATFORM}
  70. restore_configs
  71. echo use_example_configs BQ/WITBOX
  72. use_example_configs BQ/WITBOX
  73. build_marlin_pio ./ ${TEST_PLATFORM}
  74. restore_configs
  75. echo use_example_configs AliExpress/CL-260
  76. use_example_configs AliExpress/CL-260
  77. build_marlin_pio ./ ${TEST_PLATFORM}
  78. restore_configs
  79. #echo use_example_configs Cartesio
  80. #use_example_configs Cartesio
  81. #build_marlin_pio ./ ${TEST_PLATFORM}
  82. #restore_configs
  83. echo use_example_configs delta/FLSUN/auto_calibrate
  84. use_example_configs delta/FLSUN/auto_calibrate
  85. build_marlin_pio ./ ${TEST_PLATFORM}
  86. restore_configs
  87. echo use_example_configs delta/FLSUN/kossel_mini
  88. use_example_configs delta/FLSUN/kossel_mini
  89. build_marlin_pio ./ ${TEST_PLATFORM}
  90. restore_configs
  91. echo use_example_configs delta/generic
  92. use_example_configs delta/generic
  93. build_marlin_pio ./ ${TEST_PLATFORM}
  94. restore_configs
  95. echo use_example_configs delta/kossel_mini
  96. use_example_configs delta/kossel_mini
  97. build_marlin_pio ./ ${TEST_PLATFORM}
  98. restore_configs
  99. echo use_example_configs delta/kossel_xl
  100. use_example_configs delta/kossel_xl
  101. build_marlin_pio ./ ${TEST_PLATFORM}
  102. restore_configs
  103. echo use_example_configs Felix
  104. use_example_configs Felix
  105. build_marlin_pio ./ ${TEST_PLATFORM}
  106. restore_configs
  107. echo use_example_configs Felix/DUAL
  108. use_example_configs Felix/DUAL
  109. build_marlin_pio ./ ${TEST_PLATFORM}
  110. restore_configs
  111. echo use_example_configs FolgerTech/i3-2020
  112. use_example_configs FolgerTech/i3-2020
  113. build_marlin_pio ./ ${TEST_PLATFORM}
  114. restore_configs
  115. echo use_example_configs gCreate/gMax1.5+
  116. use_example_configs gCreate/gMax1.5+
  117. build_marlin_pio ./ ${TEST_PLATFORM}
  118. restore_configs
  119. echo use_example_configs Geeetech/GT2560
  120. use_example_configs Geeetech/GT2560
  121. build_marlin_pio ./ ${TEST_PLATFORM}
  122. restore_configs
  123. #echo use_example_configs Geeetech/I3_Pro_X-GT2560
  124. #use_example_configs Geeetech/I3_Pro_X-GT2560
  125. #build_marlin_pio ./ ${TEST_PLATFORM}
  126. #restore_configs
  127. echo use_example_configs Infitary/i3-M508
  128. use_example_configs Infitary/i3-M508
  129. build_marlin_pio ./ ${TEST_PLATFORM}
  130. restore_configs
  131. use_example_configs Malyan/M200
  132. build_marlin_pio ./ ${TEST_PLATFORM}
  133. restore_configs
  134. echo use_example_configs Micromake/C1/basic
  135. use_example_configs Micromake/C1/basic
  136. build_marlin_pio ./ ${TEST_PLATFORM}
  137. restore_configs
  138. echo use_example_configs Micromake/C1/enhanced
  139. use_example_configs Micromake/C1/enhanced
  140. build_marlin_pio ./ ${TEST_PLATFORM}
  141. restore_configs
  142. echo use_example_configs RepRapWorld/Megatronics
  143. use_example_configs RepRapWorld/Megatronics
  144. build_marlin_pio ./ ${TEST_PLATFORM}
  145. restore_configs
  146. echo use_example_configs RigidBot
  147. use_example_configs RigidBot
  148. build_marlin_pio ./ ${TEST_PLATFORM}
  149. restore_configs
  150. echo use_example_configs SCARA
  151. use_example_configs SCARA
  152. build_marlin_pio ./ ${TEST_PLATFORM}
  153. restore_configs
  154. echo use_example_configs Velleman/K8200
  155. use_example_configs Velleman/K8200
  156. build_marlin_pio ./ ${TEST_PLATFORM}
  157. restore_configs
  158. echo use_example_configs Velleman/K8400/Dual-head
  159. use_example_configs Velleman/K8400/Dual-head
  160. build_marlin_pio ./ ${TEST_PLATFORM}
  161. restore_configs
  162. echo use_example_configs Velleman/K8400
  163. use_example_configs Velleman/K8400
  164. build_marlin_pio ./ ${TEST_PLATFORM}
  165. restore_configs
  166. echo use_example_configs Wanhao/Duplicator6
  167. use_example_configs Wanhao/Duplicator6
  168. build_marlin_pio ./ ${TEST_PLATFORM}
  169. restore_configs
  170. # Requires manual load of https://github.com/stawel/SlowSoftI2CMaster
  171. #use_example_configs wt150
  172. #build_marlin_pio ./ ${TEST_PLATFORM}
  173. #restore_configs
  174. echo testing melzi targets...
  175. export TEST_PLATFORM="-e melzi"
  176. echo use_example_configs Anet/A6
  177. use_example_configs Anet/A6
  178. build_marlin_pio ./ ${TEST_PLATFORM}
  179. restore_configs
  180. echo use_example_configs Anet/A8
  181. use_example_configs Anet/A8
  182. build_marlin_pio ./ ${TEST_PLATFORM}
  183. restore_configs
  184. echo use_example_configs Creality/CR-10
  185. use_example_configs Creality/CR-10
  186. build_marlin_pio ./ ${TEST_PLATFORM}
  187. restore_configs
  188. echo use_example_configs Malyan/M150
  189. use_example_configs Malyan/M150
  190. build_marlin_pio ./ ${TEST_PLATFORM}
  191. restore_configs
  192. echo use_example_configs Sanguinololu
  193. use_example_configs Sanguinololu
  194. build_marlin_pio ./ ${TEST_PLATFORM}
  195. restore_configs
  196. echo use_example_configs TinyBoy2
  197. use_example_configs TinyBoy2
  198. build_marlin_pio ./ ${TEST_PLATFORM}
  199. restore_configs
  200. echo testing rambo targets...
  201. export TEST_PLATFORM="-e rambo"
  202. echo use_example_configs AlephObjects/TAZ4
  203. use_example_configs AlephObjects/TAZ4
  204. build_marlin_pio ./ ${TEST_PLATFORM}
  205. restore_configs
  206. echo testing at90usb1286_* targets...
  207. export TEST_PLATFORM="-e at90usb1286_dfu"
  208. #echo se_example_configs delta/kossel_pro
  209. #use_example_configs delta/kossel_pro
  210. #build_marlin_pio ./ ${TEST_PLATFORM}
  211. #restore_configs
  212. echo use_example_configs makibox
  213. use_example_configs makibox
  214. build_marlin_pio ./ ${TEST_PLATFORM}
  215. restore_configs
  216. echo testing sanguino_atmega644p targets...
  217. export TEST_PLATFORM="-e sanguino_atmega644p"
  218. echo use_example_configs tvrrug/Round2
  219. use_example_configs tvrrug/Round2
  220. build_marlin_pio ./ ${TEST_PLATFORM}
  221. restore_configs
  222. echo testing LPC1768 targets...
  223. export TEST_PLATFORM="-e LPC1768"
  224. echo use_example_configs Mks/Sbase
  225. use_example_configs Mks/Sbase
  226. build_marlin_pio ./ ${TEST_PLATFORM}
  227. restore_configs
  228. echo testing STM32F1 targets...
  229. export TEST_PLATFORM="-e STM32F1"
  230. restore_configs
  231. echo use_example_configs STM32F10
  232. use_example_configs STM32F10
  233. build_marlin_pio ./ ${TEST_PLATFORM}
  234. restore_configs
  235. echo use_example_configs stm32f103ret6
  236. use_example_configs stm32f103ret6
  237. build_marlin_pio ./ ${TEST_PLATFORM}
  238. restore_configs
  239. echo testing DUE targets...
  240. export TEST_PLATFORM="-e DUE"
  241. #echo use_example_configs UltiMachine/Archim2
  242. #use_example_configs UltiMachine/Archim2
  243. #build_marlin_pio ./ ${TEST_PLATFORM}
  244. #restore_configs
  245. #
  246. # Remove temp files from dependencies tree prior to caching
  247. rm -rf ~/Marlin/.piolibdeps/_tmp_*
  248. #
  249. # Restore the environment
  250. #
  251. env_restore
  252. - save_cache:
  253. paths:
  254. - ~/.platformio
  255. - ~/Marlin/.piolibdeps
  256. key: v1-dependencies-{{ checksum "~/Marlin/platformio.ini" }}