[github-actions] add test to verify OTNS works (#4847)

This commit is contained in:
Simon Lin
2020-05-20 20:34:19 -07:00
committed by GitHub
parent 99e0666082
commit bdfafb437e
5 changed files with 46 additions and 1 deletions
+4
View File
@@ -107,6 +107,10 @@ build_all_features()
export CPPFLAGS="${options[*]} -DOPENTHREAD_CONFIG_ASSERT_ENABLE=0"
reset_source
make -f examples/Makefile-simulation
export CPPFLAGS="${options[*]}"
reset_source
make -f examples/Makefile-simulation OTNS=1
}
build_nest_common()
+6
View File
@@ -78,6 +78,12 @@ build_all_features()
cmake -GNinja "${options[@]}" ..
ninja
cd "$OT_SRCDIR"
reset_source
mkdir build && cd build
cmake -GNinja "${options[@]}" -DOT_OTNS=on -DOT_SIMULATION_VIRTUAL_TIME=on ..
ninja
cd ..
}
build_toranj()