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

test-builds.yml 2.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  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. - BIGTREE_SKR_PRO
  46. - BIGTREE_GTR_V1_0
  47. - mks_robin
  48. - ARMED
  49. - FYSETC_S6
  50. # Put lengthy tests last
  51. - LPC1768
  52. - LPC1769
  53. # STM32 with non-STM framework. both broken for now. they should use HAL_STM32 which is working.
  54. #- STM32F4
  55. #- STM32F7
  56. # Non-working environment tests
  57. #- BIGTREE_BTT002
  58. #- at90usb1286_cdc
  59. #- at90usb1286_dfu
  60. #- STM32F103CB_malyan
  61. #- mks_robin_lite
  62. #- mks_robin_mini
  63. #- mks_robin_nano
  64. steps:
  65. - name: Select Python 3.7
  66. uses: actions/setup-python@v1
  67. with:
  68. python-version: '3.7' # Version range or exact version of a Python version to use, using semvers version range syntax.
  69. architecture: 'x64' # optional x64 or x86. Defaults to x64 if not specified
  70. - name: Install PlatformIO
  71. run: |
  72. pip install -U https://github.com/platformio/platformio-core/archive/master.zip
  73. platformio update
  74. - name: Check out the PR
  75. uses: actions/checkout@v2
  76. - name: Run ${{ matrix.test-platform }} Tests
  77. run: |
  78. # Inline tests script
  79. [[ "$GITHUB_REPOSITORY" == "MarlinFirmware/Marlin" ]] || exit 0
  80. chmod +x buildroot/bin/*
  81. chmod +x buildroot/share/tests/*
  82. export PATH=./buildroot/bin/:./buildroot/share/tests/:${PATH}
  83. run_tests . ${{ matrix.test-platform }}