From 28149ba34b442728bc5c73f2d2adf6b3ec357364 Mon Sep 17 00:00:00 2001 From: Rene Zeldenthuis Date: Sun, 17 Dec 2023 18:25:51 +0100 Subject: [PATCH] CI --- .github/workflows/main.yml | 2 +- examples/ci/platformio.ini | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d1d1b4a..b922253 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -21,7 +21,7 @@ jobs: - name: Install PlatformIO run: python -m pip install platformio - name: Build firmware - run: pio ci --lib=src --lib=include --exclude=assets --exclude=example --exclude=boards --project-conf="examples/ci/platformio.ini" "examples/ci/main.cpp" + run: pio ci --lib=src --lib=include --exclude=assets --exclude=examples --exclude=boards --project-conf="examples/ci/platformio.ini" "examples/ci/main.cpp" env: PLATFORMIO_BOARDS_DIR: "${{github.workspace}}/boards" #PLATFORMIO_BUILD_FLAGS: -DLV_CONF_PATH="${{github.workspace}}/examples/ci/lv_conf.h" diff --git a/examples/ci/platformio.ini b/examples/ci/platformio.ini index 3ed3ebe..1769110 100644 --- a/examples/ci/platformio.ini +++ b/examples/ci/platformio.ini @@ -51,7 +51,7 @@ build_flags = #-Wall -D CORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_VERBOSE # LVGL settings - -D LV_CONF_PATH=${PROJECT_DIR}/examples/ci/lv_conf.h + -D LV_CONF_PATH=${src_dir}/examples/ci/lv_conf.h [env:esp32-2424S012C] board = esp32-2424S012C