2020-01-12 00:38:47 +00:00
|
|
|
#
|
|
|
|
# test-builds.yml
|
|
|
|
# Do test builds to catch compile errors
|
|
|
|
#
|
|
|
|
|
|
|
|
name: CI
|
|
|
|
|
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
branches:
|
|
|
|
- bugfix-2.0.x
|
|
|
|
paths-ignore:
|
|
|
|
- config/**
|
|
|
|
- data/**
|
|
|
|
- docs/**
|
|
|
|
- '**/*.md'
|
2020-07-05 20:46:00 +00:00
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- bugfix-2.0.x
|
|
|
|
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:
|
|
|
|
# Base Environments
|
|
|
|
|
|
|
|
- DUE
|
2020-10-27 22:21:38 +00:00
|
|
|
- DUE_archim
|
2020-01-12 00:38:47 +00:00
|
|
|
- esp32
|
|
|
|
- linux_native
|
2020-03-01 23:39:46 +00:00
|
|
|
- mega2560
|
2020-10-25 00:43:42 +00:00
|
|
|
- at90usb1286_dfu
|
2020-01-12 00:38:47 +00:00
|
|
|
- teensy31
|
|
|
|
- teensy35
|
2020-09-22 22:36:59 +00:00
|
|
|
- teensy41
|
2020-02-14 05:28:18 +00:00
|
|
|
- SAMD51_grandcentral_m4
|
2020-01-12 00:38:47 +00:00
|
|
|
|
|
|
|
# Extended AVR Environments
|
|
|
|
|
2020-12-22 12:57:11 +00:00
|
|
|
- FYSETC_F6
|
2020-03-01 23:39:46 +00:00
|
|
|
- mega1280
|
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
|
|
|
|
2020-11-26 06:37:18 +00:00
|
|
|
# STM32F1 (Maple) Environments
|
2020-01-12 00:38:47 +00:00
|
|
|
|
2021-06-02 06:42:15 +00:00
|
|
|
#- STM32F103RC_btt_maple
|
|
|
|
- STM32F103RC_btt_USB_maple
|
2021-08-08 07:45:51 +00:00
|
|
|
- STM32F103RC_fysetc_maple
|
2020-05-31 07:12:29 +00:00
|
|
|
- STM32F103RC_meeb
|
2021-08-08 07:45:51 +00:00
|
|
|
- jgaurora_a5s_a1_maple
|
2021-08-04 06:14:54 +00:00
|
|
|
- STM32F103VE_longer_maple
|
2021-06-02 06:42:15 +00:00
|
|
|
#- mks_robin_maple
|
2021-08-08 07:45:51 +00:00
|
|
|
- mks_robin_lite_maple
|
|
|
|
- mks_robin_pro_maple
|
2021-06-02 06:42:15 +00:00
|
|
|
#- mks_robin_nano35_maple
|
2022-01-25 08:09:53 +00:00
|
|
|
#- STM32F103RE_creality_maple
|
2021-08-08 07:45:51 +00:00
|
|
|
- STM32F103VE_ZM3E4V2_USB_maple
|
2020-11-26 06:37:18 +00:00
|
|
|
|
|
|
|
# STM32 (ST) Environments
|
|
|
|
|
2021-06-02 06:42:15 +00:00
|
|
|
- STM32F103RC_btt
|
|
|
|
#- STM32F103RC_btt_USB
|
|
|
|
- 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
|
2020-01-12 00:38:47 +00:00
|
|
|
- STM32F407VE_black
|
2020-05-10 06:49:30 +00:00
|
|
|
- STM32F401VE_STEVAL
|
|
|
|
- BIGTREE_BTT002
|
2020-01-12 00:38:47 +00:00
|
|
|
- BIGTREE_SKR_PRO
|
2020-03-02 03:19:02 +00:00
|
|
|
- BIGTREE_GTR_V1_0
|
2021-06-02 06:42:15 +00:00
|
|
|
- mks_robin
|
2020-01-12 00:38:47 +00:00
|
|
|
- ARMED
|
2020-01-14 21:36:47 +00:00
|
|
|
- FYSETC_S6
|
2020-09-08 02:41:48 +00:00
|
|
|
- STM32F070CB_malyan
|
2020-05-10 06:49:30 +00:00
|
|
|
- STM32F070RB_malyan
|
2020-04-17 14:10:41 +00:00
|
|
|
- malyan_M300
|
2020-05-10 06:49:30 +00:00
|
|
|
- FLYF407ZG
|
2020-06-18 22:26:40 +00:00
|
|
|
- rumba32
|
2020-07-06 22:08:52 +00:00
|
|
|
- LERDGEX
|
2021-05-08 22:06:21 +00:00
|
|
|
- LERDGEK
|
2021-06-02 06:42:15 +00:00
|
|
|
- mks_robin_nano35
|
2020-10-16 07:04:55 +00:00
|
|
|
- NUCLEO_F767ZI
|
2020-11-26 06:37:18 +00:00
|
|
|
- REMRAM_V1
|
2021-04-06 02:40:50 +00:00
|
|
|
- BTT_SKR_SE_BX
|
2021-04-27 09:49:21 +00:00
|
|
|
- chitu_f103
|
2021-09-05 20:21:45 +00:00
|
|
|
- Index_Mobo_Rev03
|
2020-01-12 00:38:47 +00:00
|
|
|
|
|
|
|
# Put lengthy tests last
|
|
|
|
|
|
|
|
- LPC1768
|
|
|
|
- LPC1769
|
|
|
|
|
|
|
|
# Non-working environment tests
|
|
|
|
#- at90usb1286_cdc
|
|
|
|
#- STM32F103CB_malyan
|
2021-03-23 06:47:07 +00:00
|
|
|
#- STM32F103RE
|
2020-01-12 00:38:47 +00:00
|
|
|
#- mks_robin_mini
|
|
|
|
|
|
|
|
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: |
|
2020-08-22 03:03:32 +00:00
|
|
|
pip install -U https://github.com/platformio/platformio-core/archive/develop.zip
|
2020-01-12 00:38:47 +00:00
|
|
|
platformio update
|
|
|
|
|
|
|
|
- name: Run ${{ matrix.test-platform }} Tests
|
|
|
|
run: |
|
2020-11-18 02:04:28 +00:00
|
|
|
make tests-single-ci TEST_TARGET=${{ matrix.test-platform }}
|