File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed
Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -131,6 +131,7 @@ function build_sketches()
131131 local build_cmd
132132 build_cmd+=${cli_path}
133133 build_cmd+=" compile" \
134+ " --warnings=all" \
134135" --build-path $build_dir " \
135136" --fqbn $fqbn " \
136137" --libraries $library_path " \
@@ -307,20 +308,23 @@ function install_core()
307308 fi
308309
309310 # Set our custom warnings for all builds
310- { echo " compiler.c.extra_flags=-Wall -Wextra -Werror $debug_flags " ;
311- echo " compiler.cpp.extra_flags=-Wall -Wextra -Werror $debug_flags " ;
312- echo " mkbuildoptglobals.extra_flags=--ci --cache_core" ; } \
313- > platform.local.txt
311+ printf " %s\n" \
312+ " compiler.c.extra_flags=-Wall -Wextra $debug_flags " \
313+ " compiler.cpp.extra_flags=-Wall -Wextra $debug_flags " \
314+ " mkbuildoptglobals.extra_flags=--ci --cache_core" \
315+ > ${core_path} /platform.local.txt
314316 echo -e " \n----platform.local.txt----"
315317 cat platform.local.txt
316318 echo -e " \n----\n"
317319
320+ # Fetch toolchain & filesystem utils
318321 pushd tools
319322 python3 get.py -q
320323
321324 popd
322325 popd
323326
327+ # todo: windows runners are using copied tree
324328 local core_dir
325329 core_dir=$( dirname " $hardware_core_path " )
326330 mkdir -p " $core_dir "
You can’t perform that action at this time.
0 commit comments