1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-12-11 13:04:35 +00:00
MarlinFirmware/.github/workflows/test-builds.yml

178 lines
3.7 KiB
YAML
Raw Normal View History

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
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
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:
# Native
2020-01-12 00:38:47 +00:00
- linux_native
# AVR
- mega2560
2023-05-18 08:23:29 +00:00
- mega1280
- at90usb1286_dfu
2020-01-12 00:38:47 +00:00
# AVR Extended
- FYSETC_F6
- melzi_optiboot
2020-01-12 00:38:47 +00:00
- rambo
- sanguino1284p
- sanguino644p
2020-01-12 00:38:47 +00:00
# SAM3X8E
- DUE
- DUE_archim
2020-01-12 00:38:47 +00:00
# SAMD21
- SAMD51_grandcentral_m4
- SAMD21_minitronics20
2020-11-26 06:37:18 +00:00
# ESP32
- esp32
- mks_tinybee
2020-11-26 06:37:18 +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
- STM32F103RC_btt
- STM32F103RC_fysetc
- STM32F103RE_btt
- STM32F103RE_btt_USB
- STM32F103RE_creality
- STM32F103VE_longer
#- 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
- BIGTREE_GTR_V1_0
- BIGTREE_SKR_PRO
2020-05-10 06:49:30 +00:00
- FLYF407ZG
- FYSETC_S6
- LERDGEK
- LERDGEX
- mks_robin_pro2
- Opulo_Lumen_REV3
- rumba32
- STM32F401RC_creality
- STM32F407VE_black
2023-05-18 08:23:29 +00:00
- I3DBEEZ9_V1
# STM32F7
- NUCLEO_F767ZI
2020-11-26 06:37:18 +00:00
- REMRAM_V1
2020-01-12 00:38:47 +00:00
# STM32H7
- BTT_SKR_SE_BX
- STM32H743VI_btt
# 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
# 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
2022-03-26 01:54:01 +00:00
uses: actions/checkout@v3
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') }}
2020-01-12 00:38:47 +00:00
- name: Select Python 3.7
2022-03-26 01:54:01 +00:00
uses: actions/setup-python@v3
2020-01-12 00:38:47 +00:00
with:
python-version: '3.7' # Version range or exact version of a Python version to use, using semvers version range syntax.
architecture: 'x64' # optional x64 or x86. Defaults to x64 if not specified
- name: Install PlatformIO
run: |
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: |
make tests-single-ci TEST_TARGET=${{ matrix.test-platform }}