Skip to content

Commit

Permalink
ESP32.yml aktualisieren
Browse files Browse the repository at this point in the history
  • Loading branch information
cnadler86 authored Sep 30, 2024
1 parent 5b5fd11 commit c3c6d5d
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/ESP32.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,11 +127,15 @@ jobs:
cp ../../../src/sdkconfig_${{ env.BOARD_NAME }} sdkconfig.defaults
fi
# Create a specific build directory
BUILD_DIR=~/build/${{ env.BOARD_NAME }}
mkdir -p $BUILD_DIR
# Check if a variant is defined and adjust the make command
if [ "${{ env.BOARD_VARIANT }}" != "none" ]; then
make USER_C_MODULES=${{ github.workspace }}/src/micropython.cmake BOARD=${{ env.BOARD_NAME }} VARIANT=${{ env.BOARD_VARIANT }} all
make USER_C_MODULES=${{ github.workspace }}/src/micropython.cmake BOARD=${{ env.BOARD_NAME }} VARIANT=${{ env.BOARD_VARIANT }} BUILD=$BUILD_DIR
else
make USER_C_MODULES=${{ github.workspace }}/src/micropython.cmake BOARD=${{ env.BOARD_NAME }} all
make USER_C_MODULES=${{ github.workspace }}/src/micropython.cmake BOARD=${{ env.BOARD_NAME }} BUILD=$BUILD_DIR
fi
# delete Build in MicroPython

0 comments on commit c3c6d5d

Please sign in to comment.