Reenable all build variants
This commit is contained in:
98
.github/workflows/build-all.yml
vendored
98
.github/workflows/build-all.yml
vendored
@@ -31,45 +31,45 @@ jobs:
|
|||||||
# Knutwurst Base Environments
|
# Knutwurst Base Environments
|
||||||
|
|
||||||
- i3_MEGA_1stgen
|
- i3_MEGA_1stgen
|
||||||
#- i3_MEGA_1stgen_TMC
|
- i3_MEGA_1stgen_TMC
|
||||||
#- i3_MEGA_1stgen_BLTOUCH_10
|
- i3_MEGA_1stgen_BLTOUCH_10
|
||||||
#- i3_MEGA_1stgen_BLTOUCH_11
|
- i3_MEGA_1stgen_BLTOUCH_11
|
||||||
#- i3_MEGA_1stgen_TMC_BLTOUCH_10
|
- i3_MEGA_1stgen_TMC_BLTOUCH_10
|
||||||
#- i3_MEGA_1stgen_TMC_BLTOUCH_11
|
- i3_MEGA_1stgen_TMC_BLTOUCH_11
|
||||||
#- i3_MEGA
|
- i3_MEGA
|
||||||
#- i3_MEGA_TMC
|
- i3_MEGA_TMC
|
||||||
#- i3_MEGA_BLTOUCH_10
|
- i3_MEGA_BLTOUCH_10
|
||||||
#- i3_MEGA_BLTOUCH_11
|
- i3_MEGA_BLTOUCH_11
|
||||||
#- i3_MEGA_TMC_BLTOUCH_10
|
- i3_MEGA_TMC_BLTOUCH_10
|
||||||
#- i3_MEGA_TMC_BLTOUCH_11
|
- i3_MEGA_TMC_BLTOUCH_11
|
||||||
#- i3_MEGA_S
|
- i3_MEGA_S
|
||||||
#- i3_MEGA_S_TMC
|
- i3_MEGA_S_TMC
|
||||||
#- i3_MEGA_S_BLTOUCH_10
|
- i3_MEGA_S_BLTOUCH_10
|
||||||
#- i3_MEGA_S_BLTOUCH_11
|
- i3_MEGA_S_BLTOUCH_11
|
||||||
#- i3_MEGA_S_TMC_BLTOUCH_10
|
- i3_MEGA_S_TMC_BLTOUCH_10
|
||||||
#- i3_MEGA_S_TMC_BLTOUCH_11
|
- i3_MEGA_S_TMC_BLTOUCH_11
|
||||||
#- i3_MEGA_S_DGUS
|
- i3_MEGA_S_DGUS
|
||||||
#- i3_MEGA_S_DGUS_TMC
|
- i3_MEGA_S_DGUS_TMC
|
||||||
#- i3_MEGA_S_DGUS_BLTOUCH_10
|
- i3_MEGA_S_DGUS_BLTOUCH_10
|
||||||
#- i3_MEGA_S_DGUS_BLTOUCH_11
|
- i3_MEGA_S_DGUS_BLTOUCH_11
|
||||||
#- i3_MEGA_S_DGUS_TMC_BLTOUCH_10
|
- i3_MEGA_S_DGUS_TMC_BLTOUCH_10
|
||||||
#- i3_MEGA_S_DGUS_TMC_BLTOUCH_11
|
- i3_MEGA_S_DGUS_TMC_BLTOUCH_11
|
||||||
#- i3_MEGA_X
|
- i3_MEGA_X
|
||||||
#- i3_MEGA_X_TMC
|
- i3_MEGA_X_TMC
|
||||||
#- i3_MEGA_X_BLTOUCH_10
|
- i3_MEGA_X_BLTOUCH_10
|
||||||
#- i3_MEGA_X_BLTOUCH_11
|
- i3_MEGA_X_BLTOUCH_11
|
||||||
#- i3_MEGA_X_TMC_BLTOUCH_10
|
- i3_MEGA_X_TMC_BLTOUCH_10
|
||||||
#- i3_MEGA_X_TMC_BLTOUCH_11
|
- i3_MEGA_X_TMC_BLTOUCH_11
|
||||||
#- i3_MEGA_P
|
- i3_MEGA_P
|
||||||
#- i3_MEGA_P_TMC
|
- i3_MEGA_P_TMC
|
||||||
#- i3_MEGA_P_BLTOUCH_10
|
- i3_MEGA_P_BLTOUCH_10
|
||||||
#- i3_MEGA_P_BLTOUCH_11
|
- i3_MEGA_P_BLTOUCH_11
|
||||||
#- i3_MEGA_P_TMC_BLTOUCH_10
|
- i3_MEGA_P_TMC_BLTOUCH_10
|
||||||
#- i3_MEGA_P_TMC_BLTOUCH_11
|
- i3_MEGA_P_TMC_BLTOUCH_11
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: Select Python 3.7
|
- name: Setup Python 3.7
|
||||||
uses: actions/setup-python@v1
|
uses: actions/setup-python@v1
|
||||||
with:
|
with:
|
||||||
python-version: '3.7' # Version range or exact version of a Python version to use, using semvers version range syntax.
|
python-version: '3.7' # Version range or exact version of a Python version to use, using semvers version range syntax.
|
||||||
@@ -80,33 +80,33 @@ 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: Install dependencies
|
- name: Install PlatformIO dependencies
|
||||||
run: |
|
run: |
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
pip install platformio
|
pip install platformio
|
||||||
|
|
||||||
- uses: actions/checkout@master
|
- uses: actions/checkout@master
|
||||||
|
|
||||||
- name: Run PlatformIO
|
- name: Compile Firmware with PlatformIO
|
||||||
run: platformio run --environment ${{ matrix.platform }}
|
run: platformio run --environment ${{ matrix.platform }}
|
||||||
|
|
||||||
|
- name: Set Environment Variables
|
||||||
|
run: |
|
||||||
|
echo "::set-env name=CUSTOM_BUILD_VER::$(egrep -o '"([0-9]{1,}\.)+[0-9]{1,}"' Marlin/src/inc/Version.h -m2 | tail -n1)"
|
||||||
|
|
||||||
- name: Rename Output Files
|
- name: Rename Output Files
|
||||||
run: |
|
run: |
|
||||||
CUSTOM_BUILD_VERSION=$(egrep -o "([0-9]{1,}\.)+[0-9]{1,}" Marlin/src/inc/Version.h -m2 | tail -n1) && \
|
CUSTOM_BUILD_VERSION=$(egrep -o "([0-9]{1,}\.)+[0-9]{1,}" Marlin/src/inc/Version.h -m2 | tail -n1) && \
|
||||||
mv .pio/build/${{ matrix.platform }}/firmware.hex .pio/build/${{ matrix.platform }}/${{ matrix.platform }}_v$CUSTOM_BUILD_VERSION.hex
|
mv .pio/build/${{ matrix.platform }}/firmware.hex .pio/build/${{ matrix.platform }}/${{ matrix.platform }}_v$CUSTOM_BUILD_VERSION.hex
|
||||||
|
|
||||||
- name: Set Environment Variables
|
#- name: Archive artifacts into single Files
|
||||||
run: |
|
# uses: actions/upload-artifact@master
|
||||||
echo "::set-env name=CUSTOM_BUILD_VER::$(egrep -o '"([0-9]{1,}\.)+[0-9]{1,}"' Marlin/src/inc/Version.h -m2 | tail -n1)"
|
# with:
|
||||||
|
# name: Knutwurst_${{ matrix.platform }}
|
||||||
|
# path: |
|
||||||
|
# .pio/build/${{ matrix.platform }}/${{ matrix.platform }}_v*.hex
|
||||||
|
|
||||||
- name: Archive artifacts
|
- name: Archive all artifacts into one ZIP
|
||||||
uses: actions/upload-artifact@master
|
|
||||||
with:
|
|
||||||
name: Knutwurst_${{ matrix.platform }}_v$CUSTOM_BUILD_VER
|
|
||||||
path: |
|
|
||||||
.pio/build/${{ matrix.platform }}/${{ matrix.platform }}_v*.hex
|
|
||||||
|
|
||||||
- name: Archive artifacts ino single ZIP
|
|
||||||
uses: actions/upload-artifact@master
|
uses: actions/upload-artifact@master
|
||||||
with:
|
with:
|
||||||
name: Knuwurst-all-in-one_v$CUSTOM_BUILD_VER
|
name: Knuwurst-all-in-one_v$CUSTOM_BUILD_VER
|
||||||
|
Reference in New Issue
Block a user