From 02ae40e3bfb36acc851c71ee54a978b6484fd8e8 Mon Sep 17 00:00:00 2001 From: Matthew Colvin Date: Wed, 9 Aug 2023 14:55:40 -0500 Subject: [PATCH] Fix ESP32 Windows build after battling escape characters. Add esp32 Windows target to Actions. --- .github/workflows/build-platformio.yml | 5 ++++- Platformio/platformio.ini | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-platformio.yml b/.github/workflows/build-platformio.yml index 3e38797..3236da8 100644 --- a/.github/workflows/build-platformio.yml +++ b/.github/workflows/build-platformio.yml @@ -4,7 +4,10 @@ on: [push] jobs: build: - runs-on: ubuntu-latest + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ windows-latest, ubuntu-latest ] steps: - uses: actions/checkout@v3 diff --git a/Platformio/platformio.ini b/Platformio/platformio.ini index bcaff30..ca07004 100644 --- a/Platformio/platformio.ini +++ b/Platformio/platformio.ini @@ -91,7 +91,7 @@ build_flags = ; --------------- LVGL Defines -------------------------------------- -D LV_TICK_CUSTOM=1 -D LV_TICK_CUSTOM_INCLUDE="\"Arduino.h\"" - -D LV_TICK_CUSTOM_SYS_TIME_EXPR="\(millis\(\)\)" + -D LV_TICK_CUSTOM_SYS_TIME_EXPR="'(millis())'" ; ------------- Includes -------------------------------------------- -I HAL/Targets/ESP32