mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-27 18:02:17 +03:00
Transition from TravisCI to GitHub CI (#7444)
Convert the continuous integration process to use GitHub's internal CI cloud. Allows us to run up to 20 jobs in parallel, speeding up CI immensely. Keep a short Travis-CI run, too, just for sanity and backup. Uses new keys and secret when publishing a release to esp8266.github.io.
This commit is contained in:
committed by
GitHub
parent
f8091311a3
commit
3bd24587e1
@ -58,7 +58,7 @@ function build_sketches()
|
||||
local build_rem=$5
|
||||
local lwip=$6
|
||||
mkdir -p $build_dir
|
||||
local build_cmd="python3 tools/build.py -b generic -v -w all -s 4M1M -v -k --build_cache $cache_dir -p $PWD/$build_dir -n $lwip $build_arg "
|
||||
local build_cmd="python3 tools/build.py -b generic -v -w all -s 4M1M -v -k --build_cache $cache_dir -p ./$build_dir -n $lwip $build_arg "
|
||||
if [ "$WINDOWS" = "1" ]; then
|
||||
# Paths to the arduino builder need to be / referenced, not our native ones
|
||||
build_cmd=$(echo $build_cmd --ide_path $arduino | sed 's/ \/c\// \//g' ) # replace '/c/' with '/'
|
||||
@ -140,7 +140,7 @@ function install_libraries()
|
||||
pushd $HOME/Arduino/libraries
|
||||
|
||||
# install ArduinoJson library
|
||||
{ test -r ArduinoJson-v6.11.0.zip || wget -q -nv https://github.com/bblanchon/ArduinoJson/releases/download/v6.11.0/ArduinoJson-v6.11.0.zip; } && unzip -q ArduinoJson-v6.11.0.zip
|
||||
{ test -r ArduinoJson-v6.11.0.zip || curl --output ArduinoJson-v6.11.0.zip -L https://github.com/bblanchon/ArduinoJson/releases/download/v6.11.0/ArduinoJson-v6.11.0.zip; } && unzip -q ArduinoJson-v6.11.0.zip
|
||||
|
||||
popd
|
||||
}
|
||||
@ -159,21 +159,7 @@ function install_ide()
|
||||
local core_path=$2
|
||||
local debug=$3
|
||||
if [ "$WINDOWS" = "1" ]; then
|
||||
mkdir /c/mybin
|
||||
pushd /c/mybin
|
||||
# Use Python.org to install python3 and make sure it is in path
|
||||
wget -q -nv https://www.python.org/ftp/python/3.8.1/python-3.8.1-embed-win32.zip
|
||||
unzip -q python-3.8.1-embed-win32.zip
|
||||
cp "python.exe" "python3.exe"
|
||||
wget -q -nv -O sed.exe https://github.com/mbuilov/sed-windows/raw/master/sed-4.8-x64.exe
|
||||
#wget -nv https://fossies.org/windows/misc/unz600xn.exe
|
||||
#unzip -q ./unz600xn.exe
|
||||
popd
|
||||
export PATH="c:\\mybin:$PATH" # Ensure it's live from now on...
|
||||
python3 --version
|
||||
sed --version
|
||||
awk --version
|
||||
test -r arduino-windows.zip || wget -q -nv -O arduino-windows.zip "${ideurl}-windows.zip"
|
||||
test -r arduino-windows.zip || curl --output arduino-windows.zip -L "${ideurl}-windows.zip"
|
||||
unzip -q arduino-windows.zip
|
||||
mv arduino-${idever} arduino-distrib
|
||||
elif [ "$MACOSX" = "1" ]; then
|
||||
@ -188,7 +174,6 @@ function install_ide()
|
||||
mv Arduino.app arduino-distrib
|
||||
mv arduino-distrib/Contents/Java/* arduino-distrib/.
|
||||
else
|
||||
#test -r arduino.tar.xz || wget -O arduino.tar.xz https://www.arduino.cc/download.php?f=/arduino-nightly-linux64.tar.xz
|
||||
test -r arduino-linux.tar.xz || wget -q -O arduino-linux.tar.xz "${ideurl}-linux64.tar.xz"
|
||||
tar xf arduino-linux.tar.xz
|
||||
mv arduino-${idever} arduino-distrib
|
||||
|
Reference in New Issue
Block a user