From fb59e17462da4dc7192a6aeca77caffa7c031d62 Mon Sep 17 00:00:00 2001 From: Andrey Date: Thu, 21 Mar 2024 16:27:50 -0400 Subject: [PATCH] de-coupling for sake of GHA logs readability --- .../workflows/custom-board-build/action.yaml | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/.github/workflows/custom-board-build/action.yaml b/.github/workflows/custom-board-build/action.yaml index b4dd13b667..680a4b33d5 100644 --- a/.github/workflows/custom-board-build/action.yaml +++ b/.github/workflows/custom-board-build/action.yaml @@ -19,7 +19,7 @@ inputs: default: ./generated/ sim_output: required: false - default: ./generated/ + default: ./generated/ lts: description: 'LTS Build' required: false @@ -162,7 +162,7 @@ runs: fi sudo bash ${{inputs.rusefi_dir}}/misc/actions/add-ubuntu-latest-apt-mirrors.sh sudo apt-get install sshpass mtools $SIM_REQS - + - name: Repo Status shell: bash run: | @@ -178,6 +178,20 @@ runs: echo "Not a repository" fi + - name: Handle configs separately just to make github logs more readable + working-directory: ${{inputs.rusefi_dir}}/firmware + shell: bash + run: | + bash bin/compile.sh $BOARD_META_PATH config + + - name: Building simulator separately just to make github logs more readable + working-directory: ${{inputs.rusefi_dir}}/firmware + shell: bash + run: | + if [ "$RUN_SIMULATOR" == "true" ]; then + bash bin/compile.sh $BOARD_META_PATH ../simulator/build/rusefi_simulator + fi + - name: Build Firmware working-directory: ${{inputs.rusefi_dir}}/firmware shell: bash