My Marlin configs for Fabrikator Mini and CTC i3 Pro B
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

test-builds.yml 2.3KB

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