mirror of
https://github.com/espressif/openthread.git
synced 2026-09-16 14:10:09 +00:00
[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:
@@ -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[@]}"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user