fix ci using arduino-cli 0.8.0 to be able to compile nRFCrypto
This commit is contained in:
1 parent
fd0b115f42
commit
565cf6d986
2 files changed
+10
-2
No files matched your search
@@ -35,7 +35,12 @@ jobs:
|
||||
mkdir $HOME/.arduino15/packages
|
||||
mkdir $HOME/Arduino
|
||||
mkdir $HOME/Arduino/libraries
|
||||
curl -fsSL https://raw.githubusercontent.com/arduino/arduino-cli/master/install.sh | sh
|
||||
# FIXME use arduino-cli 0.8.0 due to 0.9.0/IDE 1.8.2 precompiled hanlding broke nRFCypto
|
||||
# https://github.com/arduino/arduino-builder/issues/353
|
||||
#curl -fsSL https://raw.githubusercontent.com/arduino/arduino-cli/master/install.sh | sh
|
||||
wget https://github.com/arduino/arduino-cli/releases/download/0.8.0/arduino-cli_0.8.0_Linux_64bit.tar.gzw
|
||||
mkdir bin
|
||||
tar -xf arduino-cli_0.8.0_Linux_64bit.tar.gz -C bin
|
||||
echo "::add-path::$GITHUB_WORKSPACE/bin"
|
||||
|
||||
- name: Install BSP and Libraries
|
||||
|
||||
+4
-1
@@ -44,7 +44,10 @@ def build_examples(variant):
|
||||
|
||||
fqbn = "adafruit:nrf52:{}:softdevice={},debug=l0".format(variant, 's140v6' if variant != 'feather52832' else 's132v6')
|
||||
|
||||
for sketch in glob.iglob('libraries/**/*.ino', recursive=True):
|
||||
all_sketches = list(glob.iglob('libraries/**/*.ino', recursive=True))
|
||||
all_sketches.sort()
|
||||
|
||||
for sketch in all_sketches:
|
||||
start_time = time.monotonic()
|
||||
|
||||
# Skip if contains: ".board.test.skip" or ".all.test.skip"
|
||||
|
||||
Reference in new issue
Block a user