-
Notifications
You must be signed in to change notification settings - Fork 13.3k
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
CI waveform flavour select #7715
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM after the log dump is removed.
tests/common.sh
Outdated
@@ -66,6 66,8 @@ function build_sketches() | |||
local sketches=$(find $srcpath -name *.ino | sort) | |||
print_size_info >size.log | |||
export ARDUINO_IDE_PATH=$arduino | |||
local pwm_phase="" | |||
[ $(( $build_rem % 2 )) -eq 0 ] && local pwm_phase="--waveform_phase" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bash is a monster, isn't it? I was about to make a comment that you wanted ==
but then realized you're generating local.
Not sure if the local
here is needed since you already made one on the prior line.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I removed the second local
set every other ci builder to use waveform phase lock