more debug

This commit is contained in:
Links
2022-06-24 10:48:51 +02:00
committed by Markus
parent 04249a9b62
commit 2110ad0a10
2 changed files with 3 additions and 3 deletions

View File

@ -165,6 +165,7 @@ jobs:
export DISPLAY=:1.0 export DISPLAY=:1.0
export PATH="$HOME/arduino_ide:$PATH" export PATH="$HOME/arduino_ide:$PATH"
arduino --board $BOARD --save-prefs arduino --board $BOARD --save-prefs
arduino --pref update.check=false --pref build.verbose=false --pref cache.enable=true --pref compiler.cache_core=true --pref compiler.warning_level=default --save-prefs
arduino --get-pref sketchbook.path arduino --get-pref sketchbook.path
arduino --get-pref arduino --get-pref

View File

@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
set -ex set -x
function build_sketches() function build_sketches()
{ {
@ -31,10 +31,9 @@ function build_sketches()
function build_sketch() function build_sketch()
{ {
set -e +x
local arduino=$1 local arduino=$1
local sketch=$2 local sketch=$2
$arduino --verify $sketch; $arduino --verify --verbose $sketch;
local result=$? local result=$?
if [ $result -ne 0 ]; then if [ $result -ne 0 ]; then
echo "Build failed ($sketch) build verbose..." echo "Build failed ($sketch) build verbose..."