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

test-builds.yml 2.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  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. - STM32F070RB_malyan
  64. - malyan_M300
  65. - mks_robin_lite
  66. - FLYF407ZG
  67. - rumba32
  68. - mks_robin_pro
  69. - STM32F103RET6_creality
  70. - LERDGEX
  71. # Put lengthy tests last
  72. - LPC1768
  73. - LPC1769
  74. # STM32 with non-STM framework. both broken for now. they should use HAL_STM32 which is working.
  75. #- STM32F4
  76. #- STM32F7
  77. # Non-working environment tests
  78. #- at90usb1286_cdc
  79. #- at90usb1286_dfu
  80. #- STM32F103CB_malyan
  81. #- mks_robin_mini
  82. #- mks_robin_nano
  83. steps:
  84. - name: Select Python 3.7
  85. uses: actions/setup-python@v1
  86. with:
  87. python-version: '3.7' # Version range or exact version of a Python version to use, using semvers version range syntax.
  88. architecture: 'x64' # optional x64 or x86. Defaults to x64 if not specified
  89. - name: Install PlatformIO
  90. run: |
  91. pip install -U https://github.com/platformio/platformio-core/archive/develop.zip
  92. platformio update
  93. - name: Check out the PR
  94. uses: actions/checkout@v2
  95. - name: Run ${{ matrix.test-platform }} Tests
  96. run: |
  97. # Inline tests script
  98. chmod +x buildroot/bin/*
  99. chmod +x buildroot/tests/*
  100. export PATH=./buildroot/bin/:./buildroot/tests/:${PATH}
  101. run_tests . ${{ matrix.test-platform }}