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

test-builds.yml 2.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. #
  2. # test-builds.yml
  3. # Do test builds to catch compile errors
  4. #
  5. name: CI
  6. on:
  7. pull_request:
  8. branches:
  9. - bugfix-2.0.x
  10. paths-ignore:
  11. - config/**
  12. - data/**
  13. - docs/**
  14. - '**/*.md'
  15. push:
  16. branches:
  17. - bugfix-2.0.x
  18. paths-ignore:
  19. - config/**
  20. - data/**
  21. - docs/**
  22. - '**/*.md'
  23. jobs:
  24. test_builds:
  25. name: Run All Tests
  26. if: github.repository == 'MarlinFirmware/Marlin'
  27. runs-on: ubuntu-latest
  28. strategy:
  29. matrix:
  30. test-platform:
  31. # Base Environments
  32. - DUE
  33. - esp32
  34. - linux_native
  35. - mega2560
  36. - teensy31
  37. - teensy35
  38. - SAMD51_grandcentral_m4
  39. # Extended AVR Environments
  40. - FYSETC_F6_13
  41. - mega1280
  42. - rambo
  43. - sanguino1284p
  44. - sanguino644p
  45. # Extended STM32 Environments
  46. - STM32F103RC_btt
  47. - STM32F103RC_btt_USB
  48. - STM32F103RE_btt
  49. - STM32F103RE_btt_USB
  50. - STM32F103RC_fysetc
  51. - STM32F103RC_meeb
  52. - jgaurora_a5s_a1
  53. - STM32F103VE_longer
  54. - STM32F407VE_black
  55. - STM32F401VE_STEVAL
  56. - BIGTREE_BTT002
  57. - BIGTREE_SKR_PRO
  58. - BIGTREE_GTR_V1_0
  59. - mks_robin
  60. - mks_robin_stm32
  61. - ARMED
  62. - FYSETC_S6
  63. - STM32F070CB_malyan
  64. - STM32F070RB_malyan
  65. - malyan_M300
  66. - mks_robin_lite
  67. - FLYF407ZG
  68. - rumba32
  69. - mks_robin_pro
  70. - STM32F103RET6_creality
  71. - LERDGEX
  72. - mks_robin_nano35
  73. # Put lengthy tests last
  74. - LPC1768
  75. - LPC1769
  76. # STM32 with non-STM framework. both broken for now. they should use HAL_STM32 which is working.
  77. #- STM32F4
  78. #- STM32F7
  79. # Non-working environment tests
  80. #- at90usb1286_cdc
  81. #- at90usb1286_dfu
  82. #- STM32F103CB_malyan
  83. #- mks_robin_mini
  84. steps:
  85. - name: Select Python 3.7
  86. uses: actions/setup-python@v1
  87. with:
  88. python-version: '3.7' # Version range or exact version of a Python version to use, using semvers version range syntax.
  89. architecture: 'x64' # optional x64 or x86. Defaults to x64 if not specified
  90. - name: Install PlatformIO
  91. run: |
  92. pip install -U https://github.com/platformio/platformio-core/archive/develop.zip
  93. platformio update
  94. - name: Check out the PR
  95. uses: actions/checkout@v2
  96. - name: Run ${{ matrix.test-platform }} Tests
  97. run: |
  98. # Inline tests script
  99. chmod +x buildroot/bin/*
  100. chmod +x buildroot/tests/*
  101. export PATH=./buildroot/bin/:./buildroot/tests/:${PATH}
  102. run_tests . ${{ matrix.test-platform }}