2020-01-12 00:38:47 +00:00
|
|
|
#
|
|
|
|
# test-builds.yml
|
|
|
|
# Do test builds to catch compile errors
|
|
|
|
#
|
|
|
|
|
|
|
|
name: CI
|
|
|
|
|
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
branches:
|
2022-06-04 04:50:20 +00:00
|
|
|
- bugfix-2.1.x
|
2023-12-01 10:45:55 +00:00
|
|
|
- 2.1.x
|
2020-01-12 00:38:47 +00:00
|
|
|
paths-ignore:
|
|
|
|
- config/**
|
|
|
|
- data/**
|
|
|
|
- docs/**
|
|
|
|
- '**/*.md'
|
2020-07-05 20:46:00 +00:00
|
|
|
push:
|
|
|
|
branches:
|
2022-06-04 04:50:20 +00:00
|
|
|
- bugfix-2.1.x
|
2023-12-01 10:45:55 +00:00
|
|
|
- 2.1.x
|
2020-07-05 20:46:00 +00:00
|
|
|
paths-ignore:
|
|
|
|
- config/**
|
|
|
|
- data/**
|
|
|
|
- docs/**
|
|
|
|
- '**/*.md'
|
2020-01-12 00:38:47 +00:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
test_builds:
|
2020-07-05 20:41:29 +00:00
|
|
|
name: Run All Tests
|
|
|
|
if: github.repository == 'MarlinFirmware/Marlin'
|
2020-01-12 00:38:47 +00:00
|
|
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
test-platform:
|
|
|
|
|
2023-04-26 19:39:56 +00:00
|
|
|
# Native
|
2020-01-12 00:38:47 +00:00
|
|
|
- linux_native
|
2023-04-26 19:39:56 +00:00
|
|
|
|
|
|
|
# AVR
|
2020-03-01 23:39:46 +00:00
|
|
|
- mega2560
|
2023-05-18 08:23:29 +00:00
|
|
|
- mega1280
|
2020-10-25 00:43:42 +00:00
|
|
|
- at90usb1286_dfu
|
2020-01-12 00:38:47 +00:00
|
|
|
|
2023-04-26 19:39:56 +00:00
|
|
|
# AVR Extended
|
2020-12-22 12:57:11 +00:00
|
|
|
- FYSETC_F6
|
2023-04-26 19:39:56 +00:00
|
|
|
- melzi_optiboot
|
2020-01-12 00:38:47 +00:00
|
|
|
- rambo
|
2020-03-01 23:39:46 +00:00
|
|
|
- sanguino1284p
|
|
|
|
- sanguino644p
|
2020-01-12 00:38:47 +00:00
|
|
|
|
2023-04-26 19:39:56 +00:00
|
|
|
# SAM3X8E
|
|
|
|
- DUE
|
|
|
|
- DUE_archim
|
2020-01-12 00:38:47 +00:00
|
|
|
|
2023-04-26 19:39:56 +00:00
|
|
|
# SAMD21
|
|
|
|
- SAMD51_grandcentral_m4
|
|
|
|
- SAMD21_minitronics20
|
2020-11-26 06:37:18 +00:00
|
|
|
|
2023-04-26 19:39:56 +00:00
|
|
|
# ESP32
|
|
|
|
- esp32
|
|
|
|
- mks_tinybee
|
2020-11-26 06:37:18 +00:00
|
|
|
|
2023-04-26 19:39:56 +00:00
|
|
|
# Teensy 2
|
|
|
|
#- at90usb1286_cdc
|
|
|
|
|
|
|
|
# Teensy MK20DX256
|
|
|
|
- teensy31
|
|
|
|
|
|
|
|
# Teensy MK64FX512, MK66FX1M0
|
|
|
|
- teensy35
|
|
|
|
|
|
|
|
# Teensy IMXRT1062DVx6A
|
|
|
|
- teensy41
|
|
|
|
|
|
|
|
# STM32F0
|
|
|
|
- malyan_M300
|
|
|
|
- STM32F070CB_malyan
|
|
|
|
- STM32F070RB_malyan
|
|
|
|
|
|
|
|
# STM32F1
|
|
|
|
- chitu_f103
|
|
|
|
- mks_robin
|
|
|
|
- mks_robin_nano_v1v2
|
|
|
|
- PANDA_PI_V29
|
2021-06-02 06:42:15 +00:00
|
|
|
- STM32F103RC_btt
|
2023-04-26 19:39:56 +00:00
|
|
|
- STM32F103RC_fysetc
|
2021-06-02 06:42:15 +00:00
|
|
|
- STM32F103RE_btt
|
|
|
|
- STM32F103RE_btt_USB
|
2022-01-25 08:09:53 +00:00
|
|
|
- STM32F103RE_creality
|
2021-08-04 06:14:54 +00:00
|
|
|
- STM32F103VE_longer
|
2023-04-26 19:39:56 +00:00
|
|
|
#- mks_robin_mini
|
|
|
|
#- mks_robin_nano_v1_3_f4_usbmod
|
|
|
|
#- mks_robin_nano_v1v2_usbmod
|
|
|
|
#- STM32F103CB_malyan
|
|
|
|
#- STM32F103RC_btt_USB
|
|
|
|
#- STM32F103RE
|
|
|
|
|
|
|
|
# STM32F4
|
|
|
|
- ARMED
|
2020-05-10 06:49:30 +00:00
|
|
|
- BIGTREE_BTT002
|
2020-03-02 03:19:02 +00:00
|
|
|
- BIGTREE_GTR_V1_0
|
2023-04-26 19:39:56 +00:00
|
|
|
- BIGTREE_SKR_PRO
|
2020-05-10 06:49:30 +00:00
|
|
|
- FLYF407ZG
|
2023-04-26 19:39:56 +00:00
|
|
|
- FYSETC_S6
|
2021-05-08 22:06:21 +00:00
|
|
|
- LERDGEK
|
2023-04-26 19:39:56 +00:00
|
|
|
- LERDGEX
|
2023-05-21 13:38:42 +00:00
|
|
|
- mks_robin_pro2
|
2023-04-26 19:39:56 +00:00
|
|
|
- Opulo_Lumen_REV3
|
|
|
|
- rumba32
|
|
|
|
- STM32F401RC_creality
|
|
|
|
- STM32F407VE_black
|
2023-05-18 08:23:29 +00:00
|
|
|
- I3DBEEZ9_V1
|
2023-04-26 19:39:56 +00:00
|
|
|
|
|
|
|
# STM32F7
|
2020-10-16 07:04:55 +00:00
|
|
|
- NUCLEO_F767ZI
|
2020-11-26 06:37:18 +00:00
|
|
|
- REMRAM_V1
|
2020-01-12 00:38:47 +00:00
|
|
|
|
2023-04-26 19:39:56 +00:00
|
|
|
# STM32H7
|
|
|
|
- BTT_SKR_SE_BX
|
2023-11-14 07:52:22 +00:00
|
|
|
- STM32H743VI_btt
|
2022-07-19 22:30:19 +00:00
|
|
|
|
2023-04-26 19:39:56 +00:00
|
|
|
# STM32F1 (Maple)
|
|
|
|
- jgaurora_a5s_a1_maple
|
|
|
|
- mks_robin_lite_maple
|
|
|
|
- mks_robin_pro_maple
|
|
|
|
- STM32F103RC_btt_USB_maple
|
|
|
|
- STM32F103RC_fysetc_maple
|
|
|
|
- STM32F103RC_meeb_maple
|
|
|
|
- STM32F103VE_longer_maple
|
|
|
|
- STM32F103VE_ZM3E4V2_USB_maple
|
|
|
|
#- mks_robin_maple
|
|
|
|
#- mks_robin_nano_v1v2_maple
|
|
|
|
#- STM32F103RC_btt_maple
|
|
|
|
#- STM32F103RE_creality_maple
|
2020-01-12 00:38:47 +00:00
|
|
|
|
2023-10-07 06:21:41 +00:00
|
|
|
# STM32G0
|
|
|
|
- STM32G0B1RE_btt
|
|
|
|
|
2023-11-26 23:58:56 +00:00
|
|
|
# HC32
|
|
|
|
- HC32F460C_aquila_101
|
|
|
|
|
2023-04-26 19:39:56 +00:00
|
|
|
# LPC176x - Lengthy tests
|
2020-01-12 00:38:47 +00:00
|
|
|
- LPC1768
|
|
|
|
- LPC1769
|
|
|
|
|
|
|
|
steps:
|
|
|
|
|
2021-06-06 08:49:23 +00:00
|
|
|
- name: Check out the PR
|
2023-11-26 20:26:20 +00:00
|
|
|
uses: actions/checkout@v4
|
2021-06-06 08:49:23 +00:00
|
|
|
|
|
|
|
- name: Cache pip
|
2022-03-26 01:54:01 +00:00
|
|
|
uses: actions/cache@v3
|
2021-06-06 08:49:23 +00:00
|
|
|
with:
|
|
|
|
path: ~/.cache/pip
|
|
|
|
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
|
|
|
|
restore-keys: |
|
|
|
|
${{ runner.os }}-pip-
|
|
|
|
|
|
|
|
- name: Cache PlatformIO
|
2022-03-26 01:54:01 +00:00
|
|
|
uses: actions/cache@v3
|
2021-06-06 08:49:23 +00:00
|
|
|
with:
|
|
|
|
path: ~/.platformio
|
|
|
|
key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }}
|
|
|
|
|
2023-11-26 20:26:20 +00:00
|
|
|
- name: Select Python 3.9
|
|
|
|
uses: actions/setup-python@v4
|
2020-01-12 00:38:47 +00:00
|
|
|
with:
|
2023-11-26 20:26:20 +00:00
|
|
|
python-version: '3.9'
|
|
|
|
architecture: 'x64'
|
2020-01-12 00:38:47 +00:00
|
|
|
|
|
|
|
- name: Install PlatformIO
|
|
|
|
run: |
|
2022-05-17 21:47:11 +00:00
|
|
|
pip install -U platformio
|
|
|
|
pio upgrade --dev
|
|
|
|
pio pkg update --global
|
2020-01-12 00:38:47 +00:00
|
|
|
|
|
|
|
- name: Run ${{ matrix.test-platform }} Tests
|
|
|
|
run: |
|
2020-11-18 02:04:28 +00:00
|
|
|
make tests-single-ci TEST_TARGET=${{ matrix.test-platform }}
|