[tests] add build tests for BR features (#6570)

BR features are tested with "Border Router" CI task but it is built
with gcc by default. This commit adds BR features to posix build
checks which apply clang/clang++.
This commit is contained in:
Kangping
2023-02-15 13:20:59 -08:00
committed by GitHub
parent 7a6546c2b7
commit 3c65092344
2 changed files with 8 additions and 1 deletions
+7
View File
@@ -51,6 +51,13 @@ build()
"-DOT_TREL=ON"
)
if [[ $OSTYPE != "darwin"* ]]; then
options+=(
"-DOT_BORDER_ROUTING=ON"
"-DOT_SRP_SERVER=ON"
)
fi
reset_source
"$(dirname "$0")"/cmake-build posix "${options[@]}"
}