Skip to content

Aquila Build for December Rev.1 #199

Aquila Build for December Rev.1

Aquila Build for December Rev.1 #199

Workflow file for this run

name: Aquila Build Configs
######################### Aquila #########################
on:
workflow_dispatch:
release:
types: [released]
jobs:
Build-Default-A: # Default NoPro for Aquila
name: Build Default Files A
runs-on: ubuntu-latest
strategy:
matrix:
chip: [GD32,N32]
temp: [true,false]
inshape: [true,false]
tjc: [true,false]
steps:
- uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 16
- name: Cache pip
uses: actions/[email protected]
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Cache PlatformIO
uses: actions/[email protected]
with:
path: ~/.platformio
key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }}
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install PlatformIO
run: |
python3 -m pip install --upgrade pip
pip install --upgrade pip
pip install --upgrade wheel
pip install --upgrade platformio
- name: Run PlatformIO
id: build_configs
run: |
if ($TP); then TPTMP=-MPC; else TPTMP=; fi;
if ($IS); then ISTMP=-IS; else ISTMP=; fi;
if [ "$AQUILA_VER" = GD32 ]; then AVTMP="GD32"; else AVTMP="N32"; fi;
if ($TJC); then DTMP=-TJC; else DTMP=; fi;
echo "filename=Aquila${DTMP}_${AVTMP}_Default-NoPro${ISTMP}${TPTMP}.bin" >> $GITHUB_OUTPUT
> Marlin/Configuration.h
> Marlin/Configuration_adv.h
> Marlin/Version.h
cp configurations/Voxelab\ Aquila/Default-NP/Configuration.h Marlin/Configuration.h
cp configurations/Voxelab\ Aquila/Default-NP/Configuration_adv.h Marlin/Configuration_adv.h
cp configurations/Voxelab\ Aquila/Default-NP/Version.h Marlin/Version.h
sed -i "s/default_envs =.*/default_envs = ${AQUILA_VER}F103RC_voxelab_maple/g" platformio.ini
if ($IS); then TEMP=; else TEMP='\/\/'; fi;
sed -i "s/[^ ]*#define INPUT_SHAPING_X/$TEMP#define INPUT_SHAPING_X/g" Marlin/Configuration_adv.h
sed -i "s/[^ ]*#define INPUT_SHAPING_Y/$TEMP#define INPUT_SHAPING_Y/g" Marlin/Configuration_adv.h
if ($TP); then PTEMP='\/\/'; else PTEMP=; fi;
sed -i "s/[^ ]*#define PIDTEMP/$PTEMP#define PIDTEMP/g" Marlin/Configuration.h
if ($TP); then MTEMP=; else MTEMP='\/\/'; fi;
sed -i "s/[^ ]*#define MPCTEMP/$MTEMP#define MPCTEMP/g" Marlin/Configuration.h
if ($TJC); then TJEMP=; REMP='\/\/'; else TJEMP='\/\/'; REMP=; fi;
sed -i "s/[^ ]*#define TJC_DISPLAY/$TJEMP#define TJC_DISPLAY/g" Marlin/Configuration.h
sed -i "s/[^ ]*#define REVERSE_ENCODER_DIRECTION/$REMP#define REVERSE_ENCODER_DIRECTION/g" Marlin/Configuration.h
pio run
mkdir temp
mv .pio/build/${AQUILA_VER}F103RC_voxelab_maple/*.bin temp/build.bin
env:
AQUILA_VER: ${{ matrix.chip }}
TP: ${{ matrix.temp }}
IS: ${{ matrix.inshape }}
TJC: ${{ matrix.tjc }}
- name: Get release
id: get_release
uses: bruceadams/[email protected]
env:
GITHUB_TOKEN: ${{ github.token }}
- name: Upload Release Asset
uses: tanyagray/action-upload-release-asset@main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.get_release.outputs.upload_url }}
asset_path: temp/build.bin
asset_name: ${{ steps.build_configs.outputs.filename }}
asset_content_type: application/x-binary
Build-Manual-Mesh-A: # MM Pro for Aquila
name: Build Manual-Mesh Files A
runs-on: ubuntu-latest
strategy:
matrix:
chip: [GD32,N32]
temp: [true,false]
inshape: [true,false]
tjc: [true,false]
steps:
- uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 16
- name: Cache pip
uses: actions/[email protected]
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Cache PlatformIO
uses: actions/[email protected]
with:
path: ~/.platformio
key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }}
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install PlatformIO
run: |
python3 -m pip install --upgrade pip
pip install --upgrade pip
pip install --upgrade wheel
pip install --upgrade platformio
- name: Run PlatformIO
id: build_configs
run: |
if ($TP); then TPTMP=-MPC; else TPTMP=; fi;
if ($IS); then ISTMP=-IS; else ISTMP=; fi;
if [ "$AQUILA_VER" = GD32 ]; then AVTMP="GD32"; else AVTMP="N32"; fi;
if ($TJC); then DTMP=-TJC; else DTMP=; fi;
echo "filename=Aquila${DTMP}_${AVTMP}_MM-ProUI${ISTMP}${TPTMP}.bin" >> $GITHUB_OUTPUT
> Marlin/Configuration.h
> Marlin/Configuration_adv.h
> Marlin/Version.h
cp configurations/Voxelab\ Aquila/MM/Configuration.h Marlin/Configuration.h
cp configurations/Voxelab\ Aquila/MM/Configuration_adv.h Marlin/Configuration_adv.h
cp configurations/Voxelab\ Aquila/MM/Version.h Marlin/Version.h
sed -i "s/default_envs =.*/default_envs = ${AQUILA_VER}F103RC_voxelab_maple/g" platformio.ini
if ($IS); then TEMP=; else TEMP='\/\/'; fi;
sed -i "s/[^ ]*#define INPUT_SHAPING_X/$TEMP#define INPUT_SHAPING_X/g" Marlin/Configuration_adv.h
sed -i "s/[^ ]*#define INPUT_SHAPING_Y/$TEMP#define INPUT_SHAPING_Y/g" Marlin/Configuration_adv.h
if ($TP); then PTEMP='\/\/'; else PTEMP=; fi;
sed -i "s/[^ ]*#define PIDTEMP/$PTEMP#define PIDTEMP/g" Marlin/Configuration.h
if ($TP); then MTEMP=; else MTEMP='\/\/'; fi;
sed -i "s/[^ ]*#define MPCTEMP/$MTEMP#define MPCTEMP/g" Marlin/Configuration.h
if ($TJC); then TJEMP=; REMP='\/\/'; else TJEMP='\/\/'; REMP=; fi;
sed -i "s/[^ ]*#define TJC_DISPLAY/$TJEMP#define TJC_DISPLAY/g" Marlin/Configuration.h
sed -i "s/[^ ]*#define REVERSE_ENCODER_DIRECTION/$REMP#define REVERSE_ENCODER_DIRECTION/g" Marlin/Configuration.h
pio run
mkdir temp
mv .pio/build/${AQUILA_VER}F103RC_voxelab_maple/*.bin temp/build.bin
env:
AQUILA_VER: ${{ matrix.chip }}
TP: ${{ matrix.temp }}
IS: ${{ matrix.inshape }}
TJC: ${{ matrix.tjc }}
- name: Get release
id: get_release
uses: bruceadams/[email protected]
env:
GITHUB_TOKEN: ${{ github.token }}
- name: Upload Release Asset
uses: tanyagray/action-upload-release-asset@main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.get_release.outputs.upload_url }}
asset_path: temp/build.bin
asset_name: ${{ steps.build_configs.outputs.filename }}
asset_content_type: application/x-binary
Build-UBL-ProUI-A: # UBL Pro for Aquila
name: Build UBL Pro Files A
runs-on: ubuntu-latest
strategy:
matrix:
chip: [GD32,N32]
tjc: [true,false]
steps:
- uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 16
- name: Cache pip
uses: actions/[email protected]
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Cache PlatformIO
uses: actions/[email protected]
with:
path: ~/.platformio
key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }}
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install PlatformIO
run: |
python3 -m pip install --upgrade pip
pip install --upgrade pip
pip install --upgrade wheel
pip install --upgrade platformio
- name: Run PlatformIO
id: build_configs
run: |
if [ "$AQUILA_VER" = GD32 ]; then AVTMP="GD32"; else AVTMP="N32"; fi;
if ($TJC); then DTMP=-TJC; else DTMP=; fi;
echo "filename=Aquila${DTMP}_${AVTMP}_UBL-ProUI.bin" >> $GITHUB_OUTPUT
> Marlin/Configuration.h
> Marlin/Configuration_adv.h
> Marlin/Version.h
cp configurations/Voxelab\ Aquila/UBL/ConfigurationPro.h Marlin/Configuration.h
cp configurations/Voxelab\ Aquila/UBL/Configuration_advPro.h Marlin/Configuration_adv.h
cp configurations/Voxelab\ Aquila/UBL/Version.h Marlin/Version.h
if ($TJC); then TJEMP=; REMP='\/\/'; else TJEMP='\/\/'; REMP=; fi;
sed -i "s/[^ ]*#define TJC_DISPLAY/$TJEMP#define TJC_DISPLAY/g" Marlin/Configuration.h
sed -i "s/[^ ]*#define REVERSE_ENCODER_DIRECTION/$REMP#define REVERSE_ENCODER_DIRECTION/g" Marlin/Configuration.h
sed -i "s/default_envs =.*/default_envs = ${AQUILA_VER}F103RC_voxelab_maple/g" platformio.ini
pio run
mkdir temp
mv .pio/build/${AQUILA_VER}F103RC_voxelab_maple/*.bin temp/build.bin
env:
AQUILA_VER: ${{ matrix.chip }}
TJC: ${{ matrix.tjc }}
- name: Get release
id: get_release
uses: bruceadams/[email protected]
env:
GITHUB_TOKEN: ${{ github.token }}
- name: Upload Release Asset
uses: tanyagray/action-upload-release-asset@main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.get_release.outputs.upload_url }}
asset_path: temp/build.bin
asset_name: ${{ steps.build_configs.outputs.filename }}
asset_content_type: application/x-binary
Build-UBL-ProUI-A-X3: # UBL Pro for Aquila X3
name: Build UBL Pro Files A X3
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 16
- name: Cache pip
uses: actions/[email protected]
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Cache PlatformIO
uses: actions/[email protected]
with:
path: ~/.platformio
key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }}
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install PlatformIO
run: |
python3 -m pip install --upgrade pip
pip install --upgrade pip
pip install --upgrade wheel
pip install --upgrade platformio
- name: Run PlatformIO
id: build_configs
run: |
echo "filename=Aquila-X3_N32_UBL-ProUI.bin" >> $GITHUB_OUTPUT
> Marlin/Configuration.h
> Marlin/Configuration_adv.h
> Marlin/Version.h
cp configurations/Voxelab\ Aquila/X3/Configuration.h Marlin/Configuration.h
cp configurations/Voxelab\ Aquila/X3/Configuration_adv.h Marlin/Configuration_adv.h
cp configurations/Voxelab\ Aquila/X3/Version.h Marlin/Version.h
sed -i "s/default_envs =.*/default_envs = N32G455RE_voxelab_maple/g" platformio.ini
pio run
mkdir temp
mv .pio/build/N32G455RE_voxelab_maple/*.bin temp/build.bin
- name: Get release
id: get_release
uses: bruceadams/[email protected]
env:
GITHUB_TOKEN: ${{ github.token }}
- name: Upload Release Asset
uses: tanyagray/action-upload-release-asset@main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.get_release.outputs.upload_url }}
asset_path: temp/build.bin
asset_name: ${{ steps.build_configs.outputs.filename }}
asset_content_type: application/x-binary
Build-UBL-NoPro-A: # UBL NoPro for Aquila
name: Build UBL NoPro Files A
runs-on: ubuntu-latest
strategy:
matrix:
chip: [GD32,N32]
grid: [3,5,7]
temp: [true,false]
inshape: [true,false]
steps:
- uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 16
- name: Cache pip
uses: actions/[email protected]
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Cache PlatformIO
uses: actions/[email protected]
with:
path: ~/.platformio
key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }}
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install PlatformIO
run: |
python3 -m pip install --upgrade pip
pip install --upgrade pip
pip install --upgrade wheel
pip install --upgrade platformio
- name: Run PlatformIO
id: build_configs
run: |
if ($TP); then TPTMP=-MPC; else TPTMP=; fi;
if ($IS); then ISTMP=-IS; else ISTMP=; fi;
if [ "$AQUILA_VER" = GD32 ]; then AVTMP="GD32"; else AVTMP="N32"; fi;
echo "filename=Aquila_${AVTMP}_UBL-${GRID}x${GRID}-NoPro${ISTMP}${TPTMP}.bin" >> $GITHUB_OUTPUT
> Marlin/Configuration.h
> Marlin/Configuration_adv.h
> Marlin/Version.h
cp configurations/Voxelab\ Aquila/UBL/Configuration.h Marlin/Configuration.h
cp configurations/Voxelab\ Aquila/UBL/Configuration_adv.h Marlin/Configuration_adv.h
cp configurations/Voxelab\ Aquila/UBL/Version.h Marlin/Version.h
sed -i "s/default_envs =.*/default_envs = ${AQUILA_VER}F103RC_voxelab_maple/g" platformio.ini
sed -i "s/#define GRID_MAX_POINTS_X.*/#define GRID_MAX_POINTS_X $GRID/g" Marlin/Configuration.h
if ($IS); then TEMP=; else TEMP='\/\/'; fi;
sed -i "s/[^ ]*#define INPUT_SHAPING_X/$TEMP#define INPUT_SHAPING_X/g" Marlin/Configuration_adv.h
sed -i "s/[^ ]*#define INPUT_SHAPING_Y/$TEMP#define INPUT_SHAPING_Y/g" Marlin/Configuration_adv.h
if ($TP); then PTEMP='\/\/'; else PTEMP=; fi;
sed -i "s/[^ ]*#define PIDTEMP/$PTEMP#define PIDTEMP/g" Marlin/Configuration.h
if ($TP); then MTEMP=; else MTEMP='\/\/'; fi;
sed -i "s/[^ ]*#define MPCTEMP/$MTEMP#define MPCTEMP/g" Marlin/Configuration.h
if [[ $IS && $TP ]]; then ETEMP='\/\/'; else ETEMP=; fi;
sed -i "s/[^ ]*#define EXTENDED_CAPABILITIES_REPORT/$ETEMP#define EXTENDED_CAPABILITIES_REPORT/g" Marlin/Configuration_adv.h
pio run
mkdir temp
mv .pio/build/${AQUILA_VER}F103RC_voxelab_maple/*.bin temp/build.bin
env:
AQUILA_VER: ${{ matrix.chip }}
GRID: ${{ matrix.grid }}
TP: ${{ matrix.temp }}
IS: ${{ matrix.inshape }}
- name: Get release
id: get_release
uses: bruceadams/[email protected]
env:
GITHUB_TOKEN: ${{ github.token }}
- name: Upload Release Asset
uses: tanyagray/action-upload-release-asset@main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.get_release.outputs.upload_url }}
asset_path: temp/build.bin
asset_name: ${{ steps.build_configs.outputs.filename }}
asset_content_type: application/x-binary
Build-BLTouch-A: # BLTouch Pro for Aquila
name: Build BLT Pro Files A
runs-on: ubuntu-latest
strategy:
matrix:
chip: [GD32,N32]
temp: [true,false]
tjc: [true,false]
steps:
- uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 16
- name: Cache pip
uses: actions/[email protected]
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Cache PlatformIO
uses: actions/[email protected]
with:
path: ~/.platformio
key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }}
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install PlatformIO
run: |
python3 -m pip install --upgrade pip
pip install --upgrade pip
pip install --upgrade wheel
pip install --upgrade platformio
- name: Run PlatformIO
id: build_configs
run: |
if ($TP); then TPTMP=-MPC; else TPTMP=; fi;
if [ "$AQUILA_VER" = GD32 ]; then AVTMP="GD32"; else AVTMP="N32"; fi;
if ($TJC); then DTMP=-TJC; else DTMP=; fi;
echo "filename=Aquila${DTMP}_${AVTMP}_BLT-ProUI${TPTMP}.bin" >> $GITHUB_OUTPUT
> Marlin/Configuration.h
> Marlin/Configuration_adv.h
> Marlin/Version.h
cp configurations/Voxelab\ Aquila/BLT/ConfigurationPro.h Marlin/Configuration.h
cp configurations/Voxelab\ Aquila/BLT/Configuration_adv.h Marlin/Configuration_adv.h
cp configurations/Voxelab\ Aquila/BLT/Version.h Marlin/Version.h
sed -i "s/default_envs =.*/default_envs = ${AQUILA_VER}F103RC_voxelab_maple/g" platformio.ini
if ($TP); then PTEMP='\/\/'; else PTEMP=; fi;
if ($TP); then MTEMP=; else MTEMP='\/\/'; fi;
sed -i "s/[^ ]*#define PIDTEMP/$PTEMP#define PIDTEMP/g" Marlin/Configuration.h
sed -i "s/[^ ]*#define MPCTEMP/$MTEMP#define MPCTEMP/g" Marlin/Configuration.h
sed -i "s/[^ ]*#define NOZZLE_CLEAN_FEATURE/$PTEMP#define NOZZLE_CLEAN_FEATURE/g" Marlin/Configuration.h
if ($TJC); then TJEMP=; REMP='\/\/'; else TJEMP='\/\/'; REMP=; fi;
sed -i "s/[^ ]*#define TJC_DISPLAY/$TJEMP#define TJC_DISPLAY/g" Marlin/Configuration.h
sed -i "s/[^ ]*#define REVERSE_ENCODER_DIRECTION/$REMP#define REVERSE_ENCODER_DIRECTION/g" Marlin/Configuration.h
pio run
mkdir temp
mv .pio/build/${AQUILA_VER}F103RC_voxelab_maple/*.bin temp/build.bin
env:
AQUILA_VER: ${{ matrix.chip }}
TP: ${{ matrix.temp }}
TJC: ${{ matrix.tjc }}
- name: Get release
id: get_release
uses: bruceadams/[email protected]
env:
GITHUB_TOKEN: ${{ github.token }}
- name: Upload Release Asset
uses: tanyagray/action-upload-release-asset@main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.get_release.outputs.upload_url }}
asset_path: temp/build.bin
asset_name: ${{ steps.build_configs.outputs.filename }}
asset_content_type: application/x-binary
Build-BLTouch-NP-A: # BLTouch NoPro for Aquila
name: Build BLT NoPro Files A
runs-on: ubuntu-latest
strategy:
matrix:
chip: [GD32,N32]
grid: [3,4,5]
temp: [true,false]
inshape: [true,false]
steps:
- uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 16
- name: Cache pip
uses: actions/[email protected]
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Cache PlatformIO
uses: actions/[email protected]
with:
path: ~/.platformio
key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }}
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install PlatformIO
run: |
python3 -m pip install --upgrade pip
pip install --upgrade pip
pip install --upgrade wheel
pip install --upgrade platformio
- name: Run PlatformIO
id: build_configs
run: |
if ($TP); then TPTMP=-MPC; else TPTMP=; fi;
if ($IS); then ISTMP=-IS; else ISTMP=; fi;
if [ "$AQUILA_VER" = GD32 ]; then AVTMP="GD32"; else AVTMP="N32"; fi;
echo "filename=Aquila_${AVTMP}_BLT-${GRID}x${GRID}-NoPro${ISTMP}${TPTMP}.bin" >> $GITHUB_OUTPUT
> Marlin/Configuration.h
> Marlin/Configuration_adv.h
> Marlin/Version.h
cp configurations/Voxelab\ Aquila/BLT/Configuration.h Marlin/Configuration.h
cp configurations/Voxelab\ Aquila/BLT/Configuration_adv.h Marlin/Configuration_adv.h
cp configurations/Voxelab\ Aquila/BLT/Version.h Marlin/Version.h
sed -i "s/default_envs =.*/default_envs = ${AQUILA_VER}F103RC_voxelab_maple/g" platformio.ini
sed -i "s/#define GRID_MAX_POINTS_X.*/#define GRID_MAX_POINTS_X $GRID/g" Marlin/Configuration.h
if ($IS); then TEMP=; else TEMP='\/\/'; fi;
sed -i "s/[^ ]*#define INPUT_SHAPING_X/$TEMP#define INPUT_SHAPING_X/g" Marlin/Configuration_adv.h
sed -i "s/[^ ]*#define INPUT_SHAPING_Y/$TEMP#define INPUT_SHAPING_Y/g" Marlin/Configuration_adv.h
if ($TP); then PTEMP='\/\/'; else PTEMP=; fi;
sed -i "s/[^ ]*#define PIDTEMP/$PTEMP#define PIDTEMP/g" Marlin/Configuration.h
if ($TP); then MTEMP=; else MTEMP='\/\/'; fi;
sed -i "s/[^ ]*#define MPCTEMP/$MTEMP#define MPCTEMP/g" Marlin/Configuration.h
pio run
mkdir temp
mv .pio/build/${AQUILA_VER}F103RC_voxelab_maple/*.bin temp/build.bin
env:
AQUILA_VER: ${{ matrix.chip }}
GRID: ${{ matrix.grid }}
TP: ${{ matrix.temp }}
IS: ${{ matrix.inshape }}
- name: Get release
id: get_release
uses: bruceadams/[email protected]
env:
GITHUB_TOKEN: ${{ github.token }}
- name: Upload Release Asset
uses: tanyagray/action-upload-release-asset@main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.get_release.outputs.upload_url }}
asset_path: temp/build.bin
asset_name: ${{ steps.build_configs.outputs.filename }}
asset_content_type: application/x-binary
Build-UBL-ProUI-A-SKR: # UBL Pro for Aquila, SKR Mini
name: Build UBL Pro Files A SKR
runs-on: ubuntu-latest
strategy:
matrix:
chip: [V3_0,V2_0,V3_0_1]
#ubl: [true,false]
steps:
- uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 16
- name: Cache pip
uses: actions/[email protected]
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Cache PlatformIO
uses: actions/[email protected]
with:
path: ~/.platformio
key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }}
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install PlatformIO
run: |
python3 -m pip install --upgrade pip
pip install --upgrade pip
pip install --upgrade wheel
pip install --upgrade platformio
- name: Run PlatformIO
id: build_configs
run: |
if [ "$SKR" = V3_0 ]; then AVTMP="V3";
elif [ "$SKR" = V2_0 ]; then AVTMP="V2";
elif [ "$SKR" = V3_0_1 ]; then AVTMP="V3-0-1";
fi;
echo "filename=Aquila_SKR-Mini-E3-${AVTMP}_UBL-ProUI.bin" >> $GITHUB_OUTPUT
> Marlin/Configuration.h
> Marlin/Configuration_adv.h
> Marlin/Version.h
if [ "$SKR" = V3_0 ]; then
cp configurations/BTT-SKR_Mini_E3_V3/ConfigurationUBL.h Marlin/Configuration.h
cp configurations/BTT-SKR_Mini_E3_V3/Configuration_adv.h Marlin/Configuration_adv.h
cp configurations/BTT-SKR_Mini_E3_V3/Version.h Marlin/Version.h
else
cp configurations/BTT-SKR_Mini_E3_V2/ConfigurationUBL.h Marlin/Configuration.h
cp configurations/BTT-SKR_Mini_E3_V2/Configuration_advUBL.h Marlin/Configuration_adv.h
cp configurations/BTT-SKR_Mini_E3_V2/Version.h Marlin/Version.h
fi;
sed -i "s/[^ ]*#define MOTHERBOARD BOARD_.*/#define MOTHERBOARD BOARD_BTT_SKR_MINI_E3_$SKR/g" Marlin/Configuration.h
if [ "$SKR" = V3_0 ]; then STMP="STM32G0B1RE";
elif [ "$SKR" = V2_0 ]; then STMP="STM32F103RC";
elif [ "$SKR" = V3_0_1 ]; then STMP="STM32F401RC";
fi;
sed -i "s/default_envs =.*/default_envs = ${STMP}_btt/g" platformio.ini
pio run
mkdir temp
mv .pio/build/${STMP}_btt/*.bin temp/build.bin
env:
SKR: ${{ matrix.chip }}
#UBL: ${{ matrix.ubl }}
- name: Get release
id: get_release
uses: bruceadams/[email protected]
env:
GITHUB_TOKEN: ${{ github.token }}
- name: Upload Release Asset
uses: tanyagray/action-upload-release-asset@main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.get_release.outputs.upload_url }}
asset_path: temp/build.bin
asset_name: ${{ steps.build_configs.outputs.filename }}
asset_content_type: application/x-binary
Build-MM-ProUI-A-SKR: # MM Pro for Aquila, SKR Mini
name: Build MM Pro Files A SKR
runs-on: ubuntu-latest
strategy:
matrix:
chip: [V3_0,V2_0,V3_0_1]
#ubl: [true,false]
steps:
- uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 16
- name: Cache pip
uses: actions/[email protected]
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Cache PlatformIO
uses: actions/[email protected]
with:
path: ~/.platformio
key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }}
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install PlatformIO
run: |
python3 -m pip install --upgrade pip
pip install --upgrade pip
pip install --upgrade wheel
pip install --upgrade platformio
- name: Run PlatformIO
id: build_configs
run: |
if [ "$SKR" = V3_0 ]; then AVTMP="V3";
elif [ "$SKR" = V2_0 ]; then AVTMP="V2";
elif [ "$SKR" = V3_0_1 ]; then AVTMP="V3-0-1";
fi;
echo "filename=Aquila_SKR-Mini-E3-${AVTMP}_MM-ProUI.bin" >> $GITHUB_OUTPUT
> Marlin/Configuration.h
> Marlin/Configuration_adv.h
> Marlin/Version.h
if [ "$SKR" = V3_0 ]; then
cp configurations/BTT-SKR_Mini_E3_V3/ConfigurationMM.h Marlin/Configuration.h
cp configurations/BTT-SKR_Mini_E3_V3/Configuration_adv.h Marlin/Configuration_adv.h
cp configurations/BTT-SKR_Mini_E3_V3/Version.h Marlin/Version.h
else
cp configurations/BTT-SKR_Mini_E3_V2/ConfigurationMM.h Marlin/Configuration.h
cp configurations/BTT-SKR_Mini_E3_V2/Configuration_advMM.h Marlin/Configuration_adv.h
cp configurations/BTT-SKR_Mini_E3_V2/Version.h Marlin/Version.h
fi;
sed -i "s/[^ ]*#define MOTHERBOARD BOARD_.*/#define MOTHERBOARD BOARD_BTT_SKR_MINI_E3_$SKR/g" Marlin/Configuration.h
if [ "$SKR" = V3_0 ]; then STMP="STM32G0B1RE";
elif [ "$SKR" = V2_0 ]; then STMP="STM32F103RC";
elif [ "$SKR" = V3_0_1 ]; then STMP="STM32F401RC";
fi;
sed -i "s/default_envs =.*/default_envs = ${STMP}_btt/g" platformio.ini
pio run
mkdir temp
mv .pio/build/${STMP}_btt/*.bin temp/build.bin
env:
SKR: ${{ matrix.chip }}
#UBL: ${{ matrix.ubl }}
- name: Get release
id: get_release
uses: bruceadams/[email protected]
env:
GITHUB_TOKEN: ${{ github.token }}
- name: Upload Release Asset
uses: tanyagray/action-upload-release-asset@main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.get_release.outputs.upload_url }}
asset_path: temp/build.bin
asset_name: ${{ steps.build_configs.outputs.filename }}
asset_content_type: application/x-binary
Build-Default-A4: # Default NoPro for Aquila 427
name: Build Default Files A4
runs-on: ubuntu-latest
strategy:
matrix:
chip: [427,422]
temp: [true,false]
inshape: [true,false]
steps:
- uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 16
- name: Cache pip
uses: actions/[email protected]
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Cache PlatformIO
uses: actions/[email protected]
with:
path: ~/.platformio
key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }}
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install PlatformIO
run: |
python3 -m pip install --upgrade pip
pip install --upgrade pip
pip install --upgrade wheel
pip install --upgrade platformio
- name: Run PlatformIO
id: build_configs
run: |
if ($TP); then TPTMP=-MPC; else TPTMP=; fi;
if ($IS); then ISTMP=-IS; else ISTMP=; fi;
if [ "$AQUILA_VER" = 427 ]; then AVTMP="427"; else AVTMP="422"; fi;
echo "filename=Aquila_${AVTMP}_Default-NoPro${ISTMP}${TPTMP}.bin" >> $GITHUB_OUTPUT
> Marlin/Configuration.h
> Marlin/Configuration_adv.h
> Marlin/Version.h
cp configurations/Voxelab\ Aquila\ 427/Default-NP/Configuration.h Marlin/Configuration.h
cp configurations/Voxelab\ Aquila\ 427/Default-NP/Configuration_adv.h Marlin/Configuration_adv.h
cp configurations/Voxelab\ Aquila\ 427/Default-NP/Version.h Marlin/Version.h
sed -i "s/default_envs =.*/default_envs = STM32F103RE_creality/g" platformio.ini
if [ "$AQUILA_VER" = 427 ]; then DBORD='CREALITY_V427'; else DBORD='CREALITY_V422'; fi;
sed -i "s/[^ ]*#define MOTHERBOARD BOARD_.*/#define MOTHERBOARD BOARD_$DBORD/g" Marlin/Configuration.h
if ($IS); then TEMP=; else TEMP='\/\/'; fi;
sed -i "s/[^ ]*#define INPUT_SHAPING_X/$TEMP#define INPUT_SHAPING_X/g" Marlin/Configuration_adv.h
sed -i "s/[^ ]*#define INPUT_SHAPING_Y/$TEMP#define INPUT_SHAPING_Y/g" Marlin/Configuration_adv.h
if ($TP); then PTEMP='\/\/'; else PTEMP=; fi;
sed -i "s/[^ ]*#define PIDTEMP/$PTEMP#define PIDTEMP/g" Marlin/Configuration.h
if ($TP); then MTEMP=; else MTEMP='\/\/'; fi;
sed -i "s/[^ ]*#define MPCTEMP/$MTEMP#define MPCTEMP/g" Marlin/Configuration.h
pio run
mkdir temp
mv .pio/build/STM32F103RE_creality/*.bin temp/build.bin
env:
AQUILA_VER: ${{ matrix.chip }}
TP: ${{ matrix.temp }}
IS: ${{ matrix.inshape }}
- name: Get release
id: get_release
uses: bruceadams/[email protected]
env:
GITHUB_TOKEN: ${{ github.token }}
- name: Upload Release Asset
uses: tanyagray/action-upload-release-asset@main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.get_release.outputs.upload_url }}
asset_path: temp/build.bin
asset_name: ${{ steps.build_configs.outputs.filename }}
asset_content_type: application/x-binary
Build-Manual-Mesh-A4: # MM Pro for Aquila 427
name: Build Manual-Mesh Files A4
runs-on: ubuntu-latest
strategy:
matrix:
chip: [427,422]
temp: [true,false]
inshape: [true,false]
steps:
- uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 16
- name: Cache pip
uses: actions/[email protected]
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Cache PlatformIO
uses: actions/[email protected]
with:
path: ~/.platformio
key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }}
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install PlatformIO
run: |
python3 -m pip install --upgrade pip
pip install --upgrade pip
pip install --upgrade wheel
pip install --upgrade platformio
- name: Run PlatformIO
id: build_configs
run: |
if ($TP); then TPTMP=-MPC; else TPTMP=; fi;
if ($IS); then ISTMP=-IS; else ISTMP=; fi;
if [ "$AQUILA_VER" = 427 ]; then AVTMP="427"; else AVTMP="422"; fi;
echo "filename=Aquila_${AVTMP}_MM-ProUI${ISTMP}${TPTMP}.bin" >> $GITHUB_OUTPUT
> Marlin/Configuration.h
> Marlin/Configuration_adv.h
> Marlin/Version.h
cp configurations/Voxelab\ Aquila\ 427/MM/Configuration.h Marlin/Configuration.h
cp configurations/Voxelab\ Aquila\ 427/MM/Configuration_adv.h Marlin/Configuration_adv.h
cp configurations/Voxelab\ Aquila\ 427/MM/Version.h Marlin/Version.h
sed -i "s/default_envs =.*/default_envs = STM32F103RE_creality/g" platformio.ini
if [ "$AQUILA_VER" = 427 ]; then DBORD='CREALITY_V427'; else DBORD='CREALITY_V422'; fi;
sed -i "s/[^ ]*#define MOTHERBOARD BOARD_.*/#define MOTHERBOARD BOARD_$DBORD/g" Marlin/Configuration.h
if ($IS); then TEMP=; else TEMP='\/\/'; fi;
sed -i "s/[^ ]*#define INPUT_SHAPING_X/$TEMP#define INPUT_SHAPING_X/g" Marlin/Configuration_adv.h
sed -i "s/[^ ]*#define INPUT_SHAPING_Y/$TEMP#define INPUT_SHAPING_Y/g" Marlin/Configuration_adv.h
if ($TP); then PTEMP='\/\/'; else PTEMP=; fi;
sed -i "s/[^ ]*#define PIDTEMP/$PTEMP#define PIDTEMP/g" Marlin/Configuration.h
if ($TP); then MTEMP=; else MTEMP='\/\/'; fi;
sed -i "s/[^ ]*#define MPCTEMP/$MTEMP#define MPCTEMP/g" Marlin/Configuration.h
pio run
mkdir temp
mv .pio/build/STM32F103RE_creality/*.bin temp/build.bin
env:
AQUILA_VER: ${{ matrix.chip }}
TP: ${{ matrix.temp }}
IS: ${{ matrix.inshape }}
- name: Get release
id: get_release
uses: bruceadams/[email protected]
env:
GITHUB_TOKEN: ${{ github.token }}
- name: Upload Release Asset
uses: tanyagray/action-upload-release-asset@main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.get_release.outputs.upload_url }}
asset_path: temp/build.bin
asset_name: ${{ steps.build_configs.outputs.filename }}
asset_content_type: application/x-binary
Build-UBL-ProUI-A4: # UBL Pro for Aquila 427
name: Build UBL Pro Files A4
runs-on: ubuntu-latest
strategy:
matrix:
chip: [427,422]
temp: [true,false]
inshape: [true,false]
steps:
- uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 16
- name: Cache pip
uses: actions/[email protected]
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Cache PlatformIO
uses: actions/[email protected]
with:
path: ~/.platformio
key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }}
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install PlatformIO
run: |
python3 -m pip install --upgrade pip
pip install --upgrade pip
pip install --upgrade wheel
pip install --upgrade platformio
- name: Run PlatformIO
id: build_configs
run: |
if ($TP); then TPTMP=-MPC; else TPTMP=; fi;
if ($IS); then ISTMP=-IS; else ISTMP=; fi;
if [ "$AQUILA_VER" = 427 ]; then AVTMP="427"; else AVTMP="422"; fi;
echo "filename=Aquila_${AVTMP}_UBL-ProUI${ISTMP}${TPTMP}.bin" >> $GITHUB_OUTPUT
> Marlin/Configuration.h
> Marlin/Configuration_adv.h
> Marlin/Version.h
cp configurations/Voxelab\ Aquila\ 427/UBL/Configuration.h Marlin/Configuration.h
cp configurations/Voxelab\ Aquila\ 427/UBL/Configuration_adv.h Marlin/Configuration_adv.h
cp configurations/Voxelab\ Aquila\ 427/UBL/Version.h Marlin/Version.h
sed -i "s/default_envs =.*/default_envs = STM32F103RE_creality/g" platformio.ini
if [ "$AQUILA_VER" = 427 ]; then DBORD='CREALITY_V427'; else DBORD='CREALITY_V422'; fi;
sed -i "s/[^ ]*#define MOTHERBOARD BOARD_.*/#define MOTHERBOARD BOARD_$DBORD/g" Marlin/Configuration.h
if ($IS); then TEMP=; else TEMP='\/\/'; fi;
sed -i "s/[^ ]*#define INPUT_SHAPING_X/$TEMP#define INPUT_SHAPING_X/g" Marlin/Configuration_adv.h
sed -i "s/[^ ]*#define INPUT_SHAPING_Y/$TEMP#define INPUT_SHAPING_Y/g" Marlin/Configuration_adv.h
if ($TP); then PTEMP='\/\/'; else PTEMP=; fi;
sed -i "s/[^ ]*#define PIDTEMP/$PTEMP#define PIDTEMP/g" Marlin/Configuration.h
if ($TP); then MTEMP=; else MTEMP='\/\/'; fi;
sed -i "s/[^ ]*#define MPCTEMP/$MTEMP#define MPCTEMP/g" Marlin/Configuration.h
pio run
mkdir temp
mv .pio/build/STM32F103RE_creality/*.bin temp/build.bin
env:
AQUILA_VER: ${{ matrix.chip }}
TP: ${{ matrix.temp }}
IS: ${{ matrix.inshape }}
- name: Get release
id: get_release
uses: bruceadams/[email protected]
env:
GITHUB_TOKEN: ${{ github.token }}
- name: Upload Release Asset
uses: tanyagray/action-upload-release-asset@main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.get_release.outputs.upload_url }}
asset_path: temp/build.bin
asset_name: ${{ steps.build_configs.outputs.filename }}
asset_content_type: application/x-binary
Build-BLTouch-A4: # BLTouch Pro for Aquila 427
name: Build BLT Pro Files A4
runs-on: ubuntu-latest
strategy:
matrix:
chip: [427,422]
temp: [true,false]
inshape: [true,false]
steps:
- uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 16
- name: Cache pip
uses: actions/[email protected]
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Cache PlatformIO
uses: actions/[email protected]
with:
path: ~/.platformio
key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }}
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install PlatformIO
run: |
python3 -m pip install --upgrade pip
pip install --upgrade pip
pip install --upgrade wheel
pip install --upgrade platformio
- name: Run PlatformIO
id: build_configs
run: |
if ($TP); then TPTMP=-MPC; else TPTMP=; fi;
if ($IS); then ISTMP=-IS; else ISTMP=; fi;
if [ "$AQUILA_VER" = 427 ]; then AVTMP="427"; else AVTMP="422"; fi;
echo "filename=Aquila_${AVTMP}_BLT-ProUI${ISTMP}${TPTMP}.bin" >> $GITHUB_OUTPUT
> Marlin/Configuration.h
> Marlin/Configuration_adv.h
> Marlin/Version.h
cp configurations/Voxelab\ Aquila\ 427/BLT/Configuration.h Marlin/Configuration.h
cp configurations/Voxelab\ Aquila\ 427/BLT/Configuration_adv.h Marlin/Configuration_adv.h
cp configurations/Voxelab\ Aquila\ 427/BLT/Version.h Marlin/Version.h
sed -i "s/default_envs =.*/default_envs = STM32F103RE_creality/g" platformio.ini
if [ "$AQUILA_VER" = 427 ]; then DBORD='CREALITY_V427'; else DBORD='CREALITY_V422'; fi;
sed -i "s/[^ ]*#define MOTHERBOARD BOARD_.*/#define MOTHERBOARD BOARD_$DBORD/g" Marlin/Configuration.h
if ($IS); then TEMP=; else TEMP='\/\/'; fi;
sed -i "s/[^ ]*#define INPUT_SHAPING_X/$TEMP#define INPUT_SHAPING_X/g" Marlin/Configuration_adv.h
sed -i "s/[^ ]*#define INPUT_SHAPING_Y/$TEMP#define INPUT_SHAPING_Y/g" Marlin/Configuration_adv.h
if ($TP); then PTEMP='\/\/'; else PTEMP=; fi;
sed -i "s/[^ ]*#define PIDTEMP/$PTEMP#define PIDTEMP/g" Marlin/Configuration.h
if ($TP); then MTEMP=; else MTEMP='\/\/'; fi;
sed -i "s/[^ ]*#define MPCTEMP/$MTEMP#define MPCTEMP/g" Marlin/Configuration.h
pio run
mkdir temp
mv .pio/build/STM32F103RE_creality/*.bin temp/build.bin
env:
AQUILA_VER: ${{ matrix.chip }}
TP: ${{ matrix.temp }}
IS: ${{ matrix.inshape }}
- name: Get release
id: get_release
uses: bruceadams/[email protected]
env:
GITHUB_TOKEN: ${{ github.token }}
- name: Upload Release Asset
uses: tanyagray/action-upload-release-asset@main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.get_release.outputs.upload_url }}
asset_path: temp/build.bin
asset_name: ${{ steps.build_configs.outputs.filename }}
asset_content_type: application/x-binary