From 4ad57844e7d6b4419461b4cd951dda671436ad3a Mon Sep 17 00:00:00 2001 From: Hpsaturn Date: Mon, 19 Feb 2024 10:46:46 +0100 Subject: [PATCH 1/2] added basic example that test the last version in Pio registry --- .github/workflows/platformio.yml | 10 +++++++--- examples/m5atom/platformio.ini | 4 +--- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/platformio.yml b/.github/workflows/platformio.yml index c8ade514..dbf401ad 100644 --- a/.github/workflows/platformio.yml +++ b/.github/workflows/platformio.yml @@ -34,12 +34,16 @@ jobs: - name: Basic Arduino IDE example test run: | cd examples/advanced_sensirion - pio run -s - - name: PlatformIO registry test (M5CoreInk project) + pio run + - name: PlatformIO registry backward (M5CoreInk project) run: | git clone https://github.com/hpsaturn/co2_m5coreink.git cd co2_m5coreink - pio run -s + pio run + - name: PlatformIO registry lastest (M5Atom project) + run: | + cd m5atom + pio run - name: All archictures tests run: | pio run diff --git a/examples/m5atom/platformio.ini b/examples/m5atom/platformio.ini index cdd8b02a..a5430515 100644 --- a/examples/m5atom/platformio.ini +++ b/examples/m5atom/platformio.ini @@ -10,8 +10,6 @@ [platformio] src_dir = . -lib_dir = ../.. -extra_configs = ../../unified-lib-deps.ini [env:esp32dev] platform = espressif32 @@ -23,6 +21,6 @@ build_flags = -D CORE_DEBUG_LEVEL=0 -D M5ATOM lib_deps = + hpsaturn/CanAirIO Air Quality Sensors Library @ 0.7.4 fastled/FastLED@^3.5.0 m5stack/M5Atom@^0.0.7 - ${commonlibs.lib_deps} \ No newline at end of file From fbc7da21d80058116c875c09088d19552895033a Mon Sep 17 00:00:00 2001 From: Hpsaturn Date: Mon, 19 Feb 2024 11:21:48 +0100 Subject: [PATCH 2/2] fixed path issue on CI test --- .github/workflows/platformio.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/platformio.yml b/.github/workflows/platformio.yml index dbf401ad..3ba1e533 100644 --- a/.github/workflows/platformio.yml +++ b/.github/workflows/platformio.yml @@ -42,7 +42,7 @@ jobs: pio run - name: PlatformIO registry lastest (M5Atom project) run: | - cd m5atom + cd examples/m5atom pio run - name: All archictures tests run: |