Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds a configurable timeout for builds #160

Merged
merged 6 commits into from
Sep 13, 2023
Merged

Adds a configurable timeout for builds #160

merged 6 commits into from
Sep 13, 2023

Conversation

brentru
Copy link
Member

@brentru brentru commented Sep 13, 2023

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: adafruit/Adafruit_Wippersnapper_Arduino#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

Copy link
Contributor

@tyeth tyeth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@ladyada
Copy link
Member

ladyada commented Sep 13, 2023 via email

@tyeth tyeth merged commit 0e6d88b into adafruit:master Sep 13, 2023
@brentru brentru deleted the sync-brentru-branch branch September 13, 2023 18:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants