My Marlin configs for Fabrikator Mini and CTC i3 Pro B
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

test-builds.yml 2.3KB

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