Update build-platformio-ubuntu.yml

This commit is contained in:
Klaus Musch 2024-03-12 21:58:47 +01:00 committed by GitHub
parent c220ed886b
commit 0ea9ccff9c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 16 additions and 3 deletions

View File

@ -6,6 +6,12 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v4
@ -17,15 +23,22 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install PlatformIO Core
run: pip install --upgrade platformio
- name: Install SDL2
run: sudo apt install -y libsdl2-dev
- name: Install PlatformIO Core
run: pip install --upgrade platformio
- name: Build PlatformIO env:ESP32
working-directory: ./Platformio
run: pio run -e esp32
- name: Build PlatformIO env:windows_linux_64bit
working-directory: ./Platformio
run: pio run -e windows_linux_64bit
run: pio run -e windows_linux_64bit