|
|
|
@ -62,21 +62,13 @@ then
|
|
|
|
|
exit $RESULT
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
source ./dist/tools/pr_check/check_labels.sh
|
|
|
|
|
|
|
|
|
|
if check_gh_label "Ready for CI build"; then
|
|
|
|
|
if [ "$BUILDTEST_MCU_GROUP" == "x86" ]
|
|
|
|
|
then
|
|
|
|
|
make -C ./tests/unittests all test BOARD=native || exit
|
|
|
|
|
# TODO:
|
|
|
|
|
# Reenable once https://github.com/RIOT-OS/RIOT/issues/2300 is
|
|
|
|
|
# resolved:
|
|
|
|
|
# - make -C ./tests/unittests all test BOARD=qemu-i386 || exit
|
|
|
|
|
fi
|
|
|
|
|
echo -e "\e[0;32mCompile tests will be performed for this pull request\e[0m"
|
|
|
|
|
./dist/tools/compile_test/compile_test.py riot/master
|
|
|
|
|
else
|
|
|
|
|
echo -e "\e[33;40mCompile tests will be skipped for this pull request\e[0m"
|
|
|
|
|
exit 1
|
|
|
|
|
if [ "$BUILDTEST_MCU_GROUP" == "x86" ]
|
|
|
|
|
then
|
|
|
|
|
make -C ./tests/unittests all test BOARD=native || exit
|
|
|
|
|
# TODO:
|
|
|
|
|
# Reenable once https://github.com/RIOT-OS/RIOT/issues/2300 is
|
|
|
|
|
# resolved:
|
|
|
|
|
# - make -C ./tests/unittests all test BOARD=qemu-i386 || exit
|
|
|
|
|
fi
|
|
|
|
|
./dist/tools/compile_test/compile_test.py riot/master
|
|
|
|
|
fi
|
|
|
|
|