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

test-builds.yml 2.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  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. - megaatmega2560
  27. - teensy31
  28. - teensy35
  29. # Extended AVR Environments
  30. - FYSETC_F6_13
  31. - megaatmega1280
  32. - rambo
  33. - sanguino_atmega1284p
  34. - sanguino_atmega644p
  35. # Extended STM32 Environments
  36. - STM32F103RC_bigtree
  37. - STM32F103RC_bigtree_USB
  38. - STM32F103RE_bigtree
  39. - STM32F103RE_bigtree_USB
  40. - STM32F103RC_fysetc
  41. - jgaurora_a5s_a1
  42. - STM32F103VE_longer
  43. - STM32F407VE_black
  44. - BIGTREE_SKR_PRO
  45. - mks_robin
  46. - ARMED
  47. # Put lengthy tests last
  48. - LPC1768
  49. - LPC1769
  50. # STM32 with non-STM framework. both broken for now. they should use HAL_STM32 which is working.
  51. #- STM32F4
  52. #- STM32F7
  53. # Non-working environment tests
  54. #- BIGTREE_BTT002
  55. #- at90usb1286_cdc
  56. #- at90usb1286_dfu
  57. #- STM32F103CB_malyan
  58. #- mks_robin_lite
  59. #- mks_robin_mini
  60. #- mks_robin_nano
  61. #- SAMD51_grandcentral_m4
  62. steps:
  63. - name: Select Python 3.7
  64. uses: actions/setup-python@v1
  65. with:
  66. python-version: '3.7' # Version range or exact version of a Python version to use, using semvers version range syntax.
  67. architecture: 'x64' # optional x64 or x86. Defaults to x64 if not specified
  68. - name: Install PlatformIO
  69. run: |
  70. pip install -U https://github.com/platformio/platformio-core/archive/master.zip
  71. platformio update
  72. - name: Check out the PR
  73. uses: actions/checkout@v2
  74. - name: Run ${{ matrix.test-platform }} Tests
  75. run: |
  76. # Inline tests script
  77. [[ "$GITHUB_REPOSITORY" == "MarlinFirmware/Marlin" ]] || exit 0
  78. chmod +x buildroot/bin/*
  79. chmod +x buildroot/share/tests/*
  80. export PATH=./buildroot/bin/:./buildroot/share/tests/:${PATH}
  81. run_tests . ${{ matrix.test-platform }}