👷 CI test without src filter (emulate Arduino) (#24335)
This commit is contained in:
parent
25c0593c9b
commit
cc27cfb660
14
buildroot/bin/ci_src_filter
Executable file
14
buildroot/bin/ci_src_filter
Executable file
@ -0,0 +1,14 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# exit on first failure
|
||||||
|
set -e
|
||||||
|
|
||||||
|
SED=$(which gsed sed | head -n1)
|
||||||
|
FN="platformio.ini"
|
||||||
|
|
||||||
|
if [[ $1 == "-n" ]]; then
|
||||||
|
"${SED}" -i "s/default_src_filter/org_src_filter/" $FN
|
||||||
|
"${SED}" -i "/org_src_filter/ s/^/default_src_filter = +<src\/*>\n/" $FN
|
||||||
|
else
|
||||||
|
git checkout $FN 2>/dev/null
|
||||||
|
fi
|
@ -12,6 +12,14 @@ set -e
|
|||||||
#restore_configs
|
#restore_configs
|
||||||
#exec_test $1 $2 "Default Configuration" "$3"
|
#exec_test $1 $2 "Default Configuration" "$3"
|
||||||
|
|
||||||
|
#
|
||||||
|
# Build with no source filers
|
||||||
|
#
|
||||||
|
restore_configs
|
||||||
|
ci_src_filter -n
|
||||||
|
exec_test $1 $2 "Default Configuration | no source filtering" "$3"
|
||||||
|
ci_src_filter -y
|
||||||
|
|
||||||
#
|
#
|
||||||
# Test a probeless build of AUTO_BED_LEVELING_UBL, with lots of extruders
|
# Test a probeless build of AUTO_BED_LEVELING_UBL, with lots of extruders
|
||||||
#
|
#
|
||||||
|
Loading…
Reference in New Issue
Block a user