Skip to content

upgrade arduino in CI #7716

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

Merged
merged 5 commits into from
Dec 31, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions tests/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,8 @@ function build_sketches()
if [ -e $cache_dir/core/*.a ]; then
# We need to preserve the build.options.json file and replace the last .ino
# with this sketch's ino file, or builder will throw everything away.
sed -i "s,^.*sketchLocation.*$, \"sketchLocation\": \"$sketch\"\,,g" $build_dir/build.options.json
jq '."sketchLocation" = "'$sketch'"' $build_dir/build.options.json > $build_dir/build.options.json.tmp
mv $build_dir/build.options.json.tmp $build_dir/build.options.json
# Set the time of the cached core.a file to the future so the GIT header
# we regen won't cause the builder to throw it out and rebuild from scratch.
touch -d 'now + 1 day' $cache_dir/core/*.a
Expand Down Expand Up @@ -153,11 +154,11 @@ function install_libraries()

function install_ide()
{
#local idever='nightly'
#local ideurl='https://www.arduino.cc/download.php?f=/arduino-nightly'
local idever='nightly'
local ideurl='https://www.arduino.cc/download.php?f=/arduino-nightly'

local idever='1.8.10'
local ideurl="https://downloads.arduino.cc/arduino-$idever"
#local idever='1.8.10'
#local ideurl="https://downloads.arduino.cc/arduino-$idever"

echo "using Arduino IDE distribution ${idever}"

Expand Down