Closed RobTillaart closed 1 year ago
Any idea if this will be fixed?
https://github.com/Arduino-CI/arduino_ci/blob/master/exe/arduino_ci.rb
change these lines 470-476
library_examples = cpp_library.example_sketches
if library_examples.empty?
handle_expectation_of_files(VAR_EXPECT_EXAMPLES, "builds", "examples", "the examples directory", cpp_library.examples_dir)
return
end
to something like
library_examples = cpp_library.example_sketches
if library_examples.empty?
inform("Skipping compilation of examples") { "as these do not exist. Preferably you should at least add one." }
return
end
System
https://github.com/RobTillaart/RS485/runs/6576256743?check_suite_focus=true
(Issue Summary / Feature Request)
While pushing a new library to github without examples, the build CI fails on "missing" examples. expected success as there are no compilation errors, or maybe better a warning "NO EXAMPLES FOUND!!!"
Arduino or Unit Test Code, Illustrating the Problem
See link above
Arduino Architecture(s) Affected
All