diff --git a/.gitea/workflows/foxmesh-ci.yml b/.gitea/workflows/foxmesh-ci.yml index 599a640..28529de 100644 --- a/.gitea/workflows/foxmesh-ci.yml +++ b/.gitea/workflows/foxmesh-ci.yml @@ -45,7 +45,9 @@ jobs: echo "GIT_BRANCH=$CLEAN_BRANCH" >> $GITHUB_ENV #3 Python alread installed - - run: python --version + - name: Show Python Version + run: python --version + # 4. Cache global PlatformIO directories, uses a dynamic key based on platformio.ini - name: Cache PlatformIO uses: actions/cache@v6 @@ -57,13 +59,21 @@ jobs: restore-keys: | ${{ runner.os }}-pio- + - name: PlatformIO in venv installieren + run: | + python3 -m venv .venv + source .venv/bin/activate + python3 -m pip install --quiet --upgrade pip platformio intelhex + # Ab hier steht platformio in diesem Schritt zur Verfügung + pio --version + # 5. Install PlatformIO Core and the required intelhex extension in a single, quiet command - - name: Install PlatformIO Core - run: python -m pip install --quiet --upgrade pip platformio intelhex +# - name: Install PlatformIO Core +# run: python -m pip install --quiet --upgrade pip platformio intelhex # 6. Install ESP32 Platform SDK - - name: Install ESP32 platform - run: pio pkg install --silent --global --platform espressif32 +# - name: Install ESP32 platform +# run: pio pkg install --silent --global --platform espressif32 # 7. Compile the Project - name: Compile the Project