diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 932ddf7..02d8749 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -8,18 +8,15 @@ jobs: - uses: actions/checkout@v3 with: submodules: 'true' - - name: Set up python - uses: actions/setup-python@v3 + - name: Set up Python + uses: actions/setup-python@v4 with: - python-version: "3.x" - architecture: "x64" + python-version: "3.9" - name: Install PlatformIO - run: | - python -m pip install platformio - pio platform install espressif32 + run: python -m pip install platformio - name: Check boards run: pio boards espressif32 - name: Build firmware run: pio ci --lib=src --lib=include --exclude=assets --exclude=example --exclude=boards --project-conf="example/platformio.ini" "example/main.cpp" env: - PLATFORMIO_BUILD_FLAGS: -DLV_CONF_PATH="${{github.workspace}}/example/lv_conf.h" \ No newline at end of file + PLATFORMIO_BUILD_FLAGS: -DLV_CONF_PATH="${{github.workspace}}/example/lv_conf.h"