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

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. paths-ignore:
  11. - config/**
  12. - data/**
  13. - docs/**
  14. - '**/*.md'
  15. jobs:
  16. test_builds:
  17. runs-on: ubuntu-latest
  18. strategy:
  19. matrix:
  20. test-platform:
  21. # Base Environments
  22. - DUE
  23. - esp32
  24. - linux_native
  25. - mega2560
  26. - teensy31
  27. - teensy35
  28. - SAMD51_grandcentral_m4
  29. # Extended AVR Environments
  30. - FYSETC_F6_13
  31. - mega1280
  32. - rambo
  33. - sanguino1284p
  34. - sanguino644p
  35. # Extended STM32 Environments
  36. - STM32F103RC_btt
  37. - STM32F103RC_btt_USB
  38. - STM32F103RE_btt
  39. - STM32F103RE_btt_USB
  40. - STM32F103RC_fysetc
  41. - jgaurora_a5s_a1
  42. - STM32F103VE_longer
  43. - STM32F407VE_black
  44. - BIGTREE_SKR_PRO
  45. - BIGTREE_GTR_V1_0
  46. - mks_robin
  47. - ARMED
  48. - FYSETC_S6
  49. # Put lengthy tests last
  50. - LPC1768
  51. - LPC1769
  52. # STM32 with non-STM framework. both broken for now. they should use HAL_STM32 which is working.
  53. #- STM32F4
  54. #- STM32F7
  55. # Non-working environment tests
  56. #- BIGTREE_BTT002
  57. #- at90usb1286_cdc
  58. #- at90usb1286_dfu
  59. #- STM32F103CB_malyan
  60. #- mks_robin_lite
  61. #- mks_robin_mini
  62. #- mks_robin_nano
  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 }}