My Marlin configs for Fabrikator Mini and CTC i3 Pro B
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

config.yml 11KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293
  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. restore_configs
  61. echo use_example_configs adafruit/ST7565
  62. use_example_configs adafruit/ST7565
  63. build_marlin_pio ./ ${TEST_PLATFORM}
  64. restore_configs
  65. echo use_example_configs BQ/Hephestos
  66. use_example_configs BQ/Hephestos
  67. build_marlin_pio ./ ${TEST_PLATFORM}
  68. restore_configs
  69. echo use_example_configs BQ/Hephestos_2
  70. use_example_configs BQ/Hephestos_2
  71. build_marlin_pio ./ ${TEST_PLATFORM}
  72. restore_configs
  73. echo use_example_configs BQ/WITBOX
  74. use_example_configs BQ/WITBOX
  75. build_marlin_pio ./ ${TEST_PLATFORM}
  76. restore_configs
  77. echo use_example_configs AliExpress/CL-260
  78. use_example_configs AliExpress/CL-260
  79. build_marlin_pio ./ ${TEST_PLATFORM}
  80. restore_configs
  81. echo use_example_configs Cartesio
  82. use_example_configs Cartesio
  83. build_marlin_pio ./ ${TEST_PLATFORM}
  84. restore_configs
  85. echo use_example_configs delta/FLSUN/auto_calibrate
  86. use_example_configs delta/FLSUN/auto_calibrate
  87. build_marlin_pio ./ ${TEST_PLATFORM}
  88. restore_configs
  89. echo use_example_configs delta/FLSUN/kossel_mini
  90. use_example_configs delta/FLSUN/kossel_mini
  91. build_marlin_pio ./ ${TEST_PLATFORM}
  92. restore_configs
  93. echo use_example_configs delta/generic
  94. use_example_configs delta/generic
  95. build_marlin_pio ./ ${TEST_PLATFORM}
  96. restore_configs
  97. echo use_example_configs delta/kossel_mini
  98. use_example_configs delta/kossel_mini
  99. build_marlin_pio ./ ${TEST_PLATFORM}
  100. restore_configs
  101. echo use_example_configs delta/kossel_xl
  102. use_example_configs delta/kossel_xl
  103. build_marlin_pio ./ ${TEST_PLATFORM}
  104. restore_configs
  105. echo use_example_configs Felix
  106. use_example_configs Felix
  107. build_marlin_pio ./ ${TEST_PLATFORM}
  108. restore_configs
  109. echo use_example_configs Felix/DUAL
  110. use_example_configs Felix/DUAL
  111. build_marlin_pio ./ ${TEST_PLATFORM}
  112. restore_configs
  113. echo use_example_configs gCreate/gMax1.5+
  114. use_example_configs gCreate/gMax1.5+
  115. build_marlin_pio ./ ${TEST_PLATFORM}
  116. restore_configs
  117. echo use_example_configs Geeetech/GT2560
  118. use_example_configs Geeetech/GT2560
  119. build_marlin_pio ./ ${TEST_PLATFORM}
  120. restore_configs
  121. echo use_example_configs Geeetech/I3_Pro_X-GT2560
  122. use_example_configs Geeetech/I3_Pro_X-GT2560
  123. build_marlin_pio ./ ${TEST_PLATFORM}
  124. restore_configs
  125. echo use_example_configs Infitary/i3-M508
  126. use_example_configs Infitary/i3-M508
  127. build_marlin_pio ./ ${TEST_PLATFORM}
  128. restore_configs
  129. #
  130. # Disabled due to compile failure on E0_AUTO_FAN_PIN PB8
  131. #
  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. #
  171. # Disabled due to compile failure on https://github.com/stawel/SlowSoftI2CMaster
  172. #
  173. # - Requires https://github.com/stawel/SlowSoftI2CMaster
  174. # restore_configs
  175. # use_example_configs wt150
  176. # build_marlin_pio ./ ${TEST_PLATFORM}
  177. echo testing anet10 targets...
  178. export TEST_PLATFORM="-e anet10"
  179. restore_configs
  180. echo use_example_configs Anet/A6
  181. use_example_configs Anet/A6
  182. build_marlin_pio ./ ${TEST_PLATFORM}
  183. restore_configs
  184. echo use_example_configs Anet/A8
  185. use_example_configs Anet/A8
  186. build_marlin_pio ./ ${TEST_PLATFORM}
  187. restore_configs
  188. echo use_example_configs Creality/CR-10
  189. use_example_configs Creality/CR-10
  190. build_marlin_pio ./ ${TEST_PLATFORM}
  191. restore_configs
  192. echo use_example_configs Malyan/M150
  193. use_example_configs Malyan/M150
  194. build_marlin_pio ./ ${TEST_PLATFORM}
  195. restore_configs
  196. echo use_example_configs Sanguinololu
  197. use_example_configs Sanguinololu
  198. build_marlin_pio ./ ${TEST_PLATFORM}
  199. restore_configs
  200. echo use_example_configs TinyBoy2
  201. use_example_configs TinyBoy2
  202. build_marlin_pio ./ ${TEST_PLATFORM}
  203. echo testing rambo targets...
  204. export TEST_PLATFORM="-e rambo"
  205. restore_configs
  206. echo use_example_configs AlephObjects/TAZ4
  207. use_example_configs AlephObjects/TAZ4
  208. build_marlin_pio ./ ${TEST_PLATFORM}
  209. echo testing teensy20 targets...
  210. export TEST_PLATFORM="-e teensy20"
  211. #
  212. # Disabled due to Z_MIN_PIN related compile failure
  213. #
  214. # restore_configs
  215. # use_example_configs delta/kossel_pro
  216. # build_marlin_pio ./ ${TEST_PLATFORM}
  217. restore_configs
  218. echo use_example_configs makibox
  219. use_example_configs makibox
  220. build_marlin_pio ./ ${TEST_PLATFORM}
  221. echo testing sanguino_atmega644p targets...
  222. export TEST_PLATFORM="-e sanguino_atmega644p"
  223. restore_configs
  224. echo use_example_configs tvrrug/Round2
  225. use_example_configs tvrrug/Round2
  226. build_marlin_pio ./ ${TEST_PLATFORM}
  227. echo testing LPC1768 targets...
  228. export TEST_PLATFORM="-e LPC1768"
  229. restore_configs
  230. echo use_example_configs FolgerTech/i3-2020
  231. use_example_configs FolgerTech/i3-2020
  232. build_marlin_pio ./ ${TEST_PLATFORM}
  233. restore_configs
  234. echo use_example_configs Mks/Sbase
  235. use_example_configs Mks/Sbase
  236. build_marlin_pio ./ ${TEST_PLATFORM}
  237. #
  238. # Disabled due to numerous compile failures
  239. #
  240. # echo testing STM32F1 targets...
  241. # export TEST_PLATFORM="-e STM32F1"
  242. # restore_configs
  243. # use_example_configs STM32F10
  244. # build_marlin_pio ./ ${TEST_PLATFORM}
  245. # restore_configs
  246. # use_example_configs stm32f103ret6
  247. # build_marlin_pio ./ ${TEST_PLATFORM}
  248. #
  249. # Disabled due do pin related compile failures
  250. #
  251. # echo testing DUE targets...
  252. # export TEST_PLATFORM="-e DUE"
  253. # restore_configs
  254. # use_example_configs UltiMachine/Archim2
  255. # build_marlin_pio ./ ${TEST_PLATFORM}
  256. #
  257. # Remove temp files from dependencies tree prior to caching
  258. rm -rf ~/Marlin/.piolibdeps/_tmp_*
  259. #
  260. # Restore the environment
  261. #
  262. env_restore
  263. - save_cache:
  264. paths:
  265. - ~/.platformio
  266. - ~/Marlin/.piolibdeps
  267. key: v1-dependencies-{{ checksum "~/Marlin/platformio.ini" }}