Skip to content

Commit 68f77a5

Browse files
committed
common.sh: do not reload arduino when already present (for locally CI testing)
1 parent 8ecae22 commit 68f77a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/common.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ function install_ide()
104104
local ide_path=$1
105105
local core_path=$2
106106
local debug=$3
107-
wget -O arduino.tar.xz https://www.arduino.cc/download.php?f=/arduino-nightly-linux64.tar.xz
107+
test -r arduino.tar.xz || wget -O arduino.tar.xz https://www.arduino.cc/download.php?f=/arduino-nightly-linux64.tar.xz
108108
tar xf arduino.tar.xz
109109
mv arduino-nightly $ide_path
110110
cd $ide_path/hardware

0 commit comments

Comments
 (0)