diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7c3ea41e..2eaa0c75 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -99,6 +99,8 @@ jobs: sed -i "s/len\s=\s0x2c200\s-\s0xdb5c/len = 2898880/" ~/.platformio/packages/framework-arduinoespressif32-libs/esp32/ld/memory.ld sed -i "/\[env\]/p; s/\[env\]/board_build.partitions = huge_app.csv/" platformio.ini + - uses: ammaraskar/gcc-problem-matcher@0.3.0 + - name: Build shell: bash run: | @@ -255,6 +257,8 @@ jobs: sed -i "s/len\s=\s0x2c200\s-\s0xdb5c/len = 2898880/" ~/.platformio/packages/framework-arduinoespressif32-libs/esp32/ld/memory.ld sed -i "/\[env\]/p; s/\[env\]/board_build.partitions = huge_app.csv/" platformio.ini + - uses: ammaraskar/gcc-problem-matcher@0.3.0 + - name: Build shell: bash run: | @@ -362,6 +366,8 @@ jobs: run: | pio pkg install -e ${{matrix.target}} + - uses: ammaraskar/gcc-problem-matcher@0.3.0 + - name: Run Unit Tests run: pio test -e ${{matrix.target}} diff --git a/platformio.ini b/platformio.ini index 92dd6214..9786a4ac 100644 --- a/platformio.ini +++ b/platformio.ini @@ -30,6 +30,8 @@ build_unflags = -std=gnu++11 build_flags = -std=gnu++17 + -Wall + -Wextra -D __OH_FIRMWARE__ build_src_filter =