Closed brentru closed 1 year ago
looks good go ahead and merge
this email was probably sent with text to speech, thank you for understanding any typos or missing punctuation 😊
On Wed, Sep 13, 2023 at 12:10 PM Brent Rubell @.***> wrote:
cc @ladyada https://github.com/ladyada
This pull request adds an optional configurable timeout parameter, --build_timeout, for building larger Arduino sketches or "firmware using Arduino" (like WipperSnapper).
Without this pull request, calls to arduino-cli (and UF2 generation) from within this script will time out and fail without any output.
Tested within Adafruit WipperSnapper PR: adafruit/Adafruit_Wippersnapper_Arduino#488 https://github.com/adafruit/Adafruit_Wippersnapper_Arduino/pull/488
Example failure run, without --build_timeout for ESP32 builds (which take a while to run and fail if they timeout): https://github.com/adafruit/Adafruit_Wippersnapper_Arduino/actions/runs/6174986510/job/16760853258
Example successful run, with --build_timeout enabled for all builds: https://github.com/adafruit/Adafruit_Wippersnapper_Arduino/actions/runs/6174857439
You can view, comment on, or merge this pull request online at:
https://github.com/adafruit/ci-arduino/pull/160 Commit Summary
- 160a7cc https://github.com/adafruit/ci-arduino/pull/160/commits/160a7cc7b7da3bd9201ffe2d9304cdf8f5b35051 sync brentru timeout with --timeout arg
- 381d0a9 https://github.com/adafruit/ci-arduino/pull/160/commits/381d0a9e01d87da6c20ae90b759ef83db9b2d09d fix indentation level
- f28f8bc https://github.com/adafruit/ci-arduino/pull/160/commits/f28f8bc2bf692c9fedaf3e2907b533bc34815ebe Remove timeout value from sys.argv as well
- 18ce377 https://github.com/adafruit/ci-arduino/pull/160/commits/18ce377263a7d2e46266c703720cf50d146100f7 Merge pull request #2 from tyeth/tweak-timeout
- 011ae3e https://github.com/adafruit/ci-arduino/pull/160/commits/011ae3e22662e23b35e8e3350203e124314ae051 cast
- fe15057 https://github.com/adafruit/ci-arduino/pull/160/commits/fe15057af2de27fca63b526afc0ef5108a33a9c9 formatting
File Changes
(1 file https://github.com/adafruit/ci-arduino/pull/160/files)
- M build_platform.py https://github.com/adafruit/ci-arduino/pull/160/files#diff-397680a251a8d6fb57a3be45c67a6fa50d4704abc05b95b9b106cd9901f91124 (19)
Patch Links:
- https://github.com/adafruit/ci-arduino/pull/160.patch
- https://github.com/adafruit/ci-arduino/pull/160.diff
— Reply to this email directly, view it on GitHub https://github.com/adafruit/ci-arduino/pull/160, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJINUIAXXJX43NRJJ4HO73X2HLJBANCNFSM6AAAAAA4WVYHEA . You are receiving this because you were mentioned.Message ID: @.***>
cc @ladyada
This pull request adds an optional configurable timeout parameter,
--build_timeout
, for building larger Arduino sketches or "firmware using Arduino" (like WipperSnapper).Without this pull request, calls to
arduino-cli
(and UF2 generation) from within this script will time out and fail without any output.Tested within Adafruit WipperSnapper PR: https://github.com/adafruit/Adafruit_Wippersnapper_Arduino/pull/488
Example failure run, without
--build_timeout
for ESP32 builds (which take a while to run and fail if they timeout): https://github.com/adafruit/Adafruit_Wippersnapper_Arduino/actions/runs/6174986510/job/16760853258Example successful run, with
--build_timeout
enabled for all builds: https://github.com/adafruit/Adafruit_Wippersnapper_Arduino/actions/runs/6174857439