Dieser Commit ist enthalten in:
1 Ursprung
8eb3a7ff18
Commit
04e95484a6
1 Datei geändert
+15
-5
@@ -45,7 +45,9 @@ jobs:
|
|||||||
echo "GIT_BRANCH=$CLEAN_BRANCH" >> $GITHUB_ENV
|
echo "GIT_BRANCH=$CLEAN_BRANCH" >> $GITHUB_ENV
|
||||||
|
|
||||||
#3 Python alread installed
|
#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
|
# 4. Cache global PlatformIO directories, uses a dynamic key based on platformio.ini
|
||||||
- name: Cache PlatformIO
|
- name: Cache PlatformIO
|
||||||
uses: actions/cache@v6
|
uses: actions/cache@v6
|
||||||
@@ -57,13 +59,21 @@ jobs:
|
|||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-pio-
|
${{ 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
|
# 5. Install PlatformIO Core and the required intelhex extension in a single, quiet command
|
||||||
- name: Install PlatformIO Core
|
# - name: Install PlatformIO Core
|
||||||
run: python -m pip install --quiet --upgrade pip platformio intelhex
|
# run: python -m pip install --quiet --upgrade pip platformio intelhex
|
||||||
|
|
||||||
# 6. Install ESP32 Platform SDK
|
# 6. Install ESP32 Platform SDK
|
||||||
- name: Install ESP32 platform
|
# - name: Install ESP32 platform
|
||||||
run: pio pkg install --silent --global --platform espressif32
|
# run: pio pkg install --silent --global --platform espressif32
|
||||||
|
|
||||||
# 7. Compile the Project
|
# 7. Compile the Project
|
||||||
- name: Compile the Project
|
- name: Compile the Project
|
||||||
|
|||||||
In neuem Issue referenzieren
Einen Benutzer sperren