[build] update build scripts and add multi-radio (TREL) CI build checks (#6518)

This commit updates `toranj/build.sh` script for posix based builds to
generate CLI executable. It also updates the posix platform to provide
log functionality when `LOG_OUTPUT` is set to `LOG_OUTPUT_APP`.

This commit also adds CI build checks for multi-radio and TREL build
configurations under posix platform.
This commit is contained in:
Abtin Keshavarzian
2021-04-29 09:28:07 -07:00
committed by GitHub
parent 84876d7f56
commit 91aaa34d9b
7 changed files with 48 additions and 16 deletions
+9
View File
@@ -42,6 +42,15 @@ build()
if [[ $OSTYPE != "darwin"* ]]; then
reset_source
make -f src/posix/Makefile-posix RCP_RESTORATION_MAX_COUNT=2 RCP_BUS=spi
reset_source
./tests/toranj/build.sh posix
reset_source
./tests/toranj/build.sh posix-15.4+trel
reset_source
./tests/toranj/build.sh posix-trel
fi
}
+7
View File
@@ -45,6 +45,13 @@ build()
)
"$(dirname "$0")"/cmake-build posix "${options[@]}"
options+=(
"-DOT_TREL=ON"
)
reset_source
"$(dirname "$0")"/cmake-build posix "${options[@]}"
}
main()