Skip to content

Commit

Permalink
CI/CD: Arduino ESP32 build fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pstolarz committed Mar 28, 2024
1 parent 6f01832 commit bd39eb8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,11 @@ jobs:
- uses: actions/checkout@v3
- name: Build
run: |
# NOTE: `-c' option added to make buggy esp32-arduino core happy,
# see: https://github.com/espressif/arduino-esp32/issues/8815
build_flags="-c"
if [[ "${{ matrix.example }}" = "CoopIdle" ]]; then
build_flags="-DCONFIG_IDLE_CB_ALT"
else
build_flags=""
build_flags="$build_flags -DCONFIG_IDLE_CB_ALT"
fi
dir=$(basename `pwd`)
arch=/tmp/${dir}.zip
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# CoopThreads
[![Arduino builds](https://github.com/pstolarz/CoopThreads/actions/workflows/ard-builds.yml/badge.svg?branch=master)](https://github.com/pstolarz/CoopThreads/actions/workflows/ard-builds.yml)
[![Arduino builds](https://github.com/pstolarz/CoopThreads/actions/workflows/arduino-builds.yml/badge.svg?branch=master)](https://github.com/pstolarz/CoopThreads/actions/workflows/arduino-builds.yml)
[![Tests status](https://github.com/pstolarz/CoopThreads/actions/workflows/ut.yml/badge.svg?branch=master)](https://github.com/pstolarz/CoopThreads/actions/workflows/ut.yml)
[![PlatformIO Registry](https://badges.registry.platformio.org/packages/pstolarz/library/CoopThreads.svg)](https://registry.platformio.org/libraries/pstolarz/CoopThreads)
<br>
Expand Down

0 comments on commit bd39eb8

Please sign in to comment.