From 6296dc90c388b8f6b528eabf94540dd7c3f02e12 Mon Sep 17 00:00:00 2001 From: Rene Zeldenthuis Date: Wed, 13 Dec 2023 21:28:28 +0100 Subject: [PATCH] CI --- .github/workflows/main.yml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5c54205..f91d6f8 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -13,13 +13,7 @@ jobs: architecture: "x64" - name: Install PlatformIO run: python -m pip install platformio - - name: Install Espressif32 - run: pio platform install espressif32 - - name: Copy boards - run: | - mkdir -p .platformio/platforms/espressif32/boards - cp -v ./boards/*.json .platformio/platforms/espressif32/boards - name: Build firmware - run: pio ci --lib="." --project-conf "example/platformio.ini" "example/main.cpp" + run: pio ci --lib="." --project-option="boards_dir=${{github.workspace}}/boards" --project-conf "example/platformio.ini" "example/main.cpp" env: PLATFORMIO_BUILD_FLAGS: -DLV_CONF_PATH="${{github.workspace}}/example/lv_conf.h"