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

test-builds.yml 2.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  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. - dev-2.1.x
  11. paths-ignore:
  12. - config/**
  13. - data/**
  14. - docs/**
  15. - '**/*.md'
  16. jobs:
  17. test_builds:
  18. runs-on: ubuntu-latest
  19. strategy:
  20. matrix:
  21. test-platform:
  22. # Base Environments
  23. - DUE
  24. - esp32
  25. - linux_native
  26. - mega2560
  27. - teensy31
  28. - teensy35
  29. - SAMD51_grandcentral_m4
  30. # Extended AVR Environments
  31. - FYSETC_F6_13
  32. - mega1280
  33. - rambo
  34. - sanguino1284p
  35. - sanguino644p
  36. # Extended STM32 Environments
  37. - STM32F103RC_btt
  38. - STM32F103RC_btt_USB
  39. - STM32F103RE_btt
  40. - STM32F103RE_btt_USB
  41. - STM32F103RC_fysetc
  42. - jgaurora_a5s_a1
  43. - STM32F103VE_longer
  44. - STM32F407VE_black
  45. - STM32F401VE_STEVAL
  46. - BIGTREE_BTT002
  47. - BIGTREE_SKR_PRO
  48. - BIGTREE_GTR_V1_0
  49. - mks_robin
  50. - ARMED
  51. - FYSETC_S6
  52. - STM32F070RB_malyan
  53. - malyan_M300
  54. - mks_robin_lite
  55. - FLYF407ZG
  56. - rumba32_f446ve
  57. - rumba32_mks
  58. - mks_robin_pro
  59. # Put lengthy tests last
  60. - LPC1768
  61. - LPC1769
  62. # STM32 with non-STM framework. both broken for now. they should use HAL_STM32 which is working.
  63. #- STM32F4
  64. #- STM32F7
  65. # Non-working environment tests
  66. #- at90usb1286_cdc
  67. #- at90usb1286_dfu
  68. #- STM32F103CB_malyan
  69. #- mks_robin_mini
  70. #- mks_robin_nano
  71. steps:
  72. - name: Select Python 3.7
  73. uses: actions/setup-python@v1
  74. with:
  75. python-version: '3.7' # Version range or exact version of a Python version to use, using semvers version range syntax.
  76. architecture: 'x64' # optional x64 or x86. Defaults to x64 if not specified
  77. - name: Install PlatformIO
  78. run: |
  79. pip install -U https://github.com/platformio/platformio-core/archive/master.zip
  80. platformio update
  81. - name: Check out the PR
  82. uses: actions/checkout@v2
  83. - name: Run ${{ matrix.test-platform }} Tests
  84. run: |
  85. # Inline tests script
  86. [[ "$GITHUB_REPOSITORY" == "MarlinFirmware/Marlin" ]] || exit 0
  87. chmod +x buildroot/bin/*
  88. chmod +x buildroot/share/tests/*
  89. export PATH=./buildroot/bin/:./buildroot/share/tests/:${PATH}
  90. run_tests . ${{ matrix.test-platform }}