Cleanup Github CI and enable build for all environments.

This commit is contained in:
Knutwurst
2020-09-03 17:24:17 +02:00
parent 9ce186a3e5
commit 9e464716a5

View File

@@ -17,85 +17,19 @@ on:
push: push:
branches: branches:
- master - master
# paths-ignore: paths-ignore:
# - config/** - config/**
# - data/** - data/**
# - docs/** - docs/**
# - '**/*.md' - '**/*.md'
jobs: jobs:
build: build:
name: Build all Environments name: Build all Environments
#if: github.repository == 'knutwurst/Marlin-2-0-x-Anycubic-i3-MEGA-S' if: github.repository == 'knutwurst/Marlin-2-0-x-Anycubic-i3-MEGA-S'
runs-on: ubuntu-latest runs-on: ubuntu-latest
#strategy:
# matrix:
# test-platform:
# Knutwurst Base Environments
#- DUE
#- esp32
#- linux_native
#- mega2560
#- teensy31
#- teensy35
#- SAMD51_grandcentral_m4
# Extended AVR Environments
#- FYSETC_F6_13
#- mega1280
#- rambo
#- sanguino1284p
#- sanguino644p
# Extended STM32 Environments
#- STM32F103RC_btt
#- STM32F103RC_btt_USB
#- STM32F103RE_btt
#- STM32F103RE_btt_USB
#- STM32F103RC_fysetc
#- STM32F103RC_meeb
#- jgaurora_a5s_a1
#- STM32F103VE_longer
#- STM32F407VE_black
#- STM32F401VE_STEVAL
#- BIGTREE_BTT002
#- BIGTREE_SKR_PRO
#- BIGTREE_GTR_V1_0
#- mks_robin
#- mks_robin_stm32
#- ARMED
#- FYSETC_S6
#- STM32F070RB_malyan
#- malyan_M300
#- mks_robin_lite
#- FLYF407ZG
#- rumba32
#- mks_robin_pro
#- STM32F103RET6_creality
#- LERDGEX
#- mks_robin_nano35
# Put lengthy tests last
#- LPC1768
#- LPC1769
# STM32 with non-STM framework. both broken for now. they should use HAL_STM32 which is working.
#- STM32F4
#- STM32F7
# Non-working environment tests
#- at90usb1286_cdc
#- at90usb1286_dfu
#- STM32F103CB_malyan
#- mks_robin_mini
steps: steps:
- name: Select Python 3.7 - name: Select Python 3.7
@@ -109,17 +43,6 @@ jobs:
pip install -U https://github.com/platformio/platformio-core/archive/develop.zip pip install -U https://github.com/platformio/platformio-core/archive/develop.zip
platformio update platformio update
#- name: Check out the PR
# uses: actions/checkout@v2
#- name: Run ${{ matrix.test-platform }} Tests
# run: |
# # Inline tests script
# chmod +x buildroot/bin/*
# chmod +x buildroot/tests/*
# export PATH=./buildroot/bin/:./buildroot/tests/:${PATH}
# run_tests . ${{ matrix.test-platform }}
- name: Install dependencies - name: Install dependencies
run: | run: |
python -m pip install --upgrade pip python -m pip install --upgrade pip
@@ -128,4 +51,4 @@ jobs:
- uses: actions/checkout@master - uses: actions/checkout@master
- name: Run PlatformIO - name: Run PlatformIO
run: platformio run --environment i3_MEGA run: platformio run