Move FreeRTOS Demo build checks to their own workflow file

This commit is contained in:
Paul Bartell 2022-12-01 17:17:00 -08:00 committed by Paul Bartell
parent 32a3f4e8a1
commit c2cdc3cb36
4 changed files with 130 additions and 88 deletions

View file

@ -1,24 +0,0 @@
PROJECT=$1
echo "Verifying url links of: ${PROJECT}"
if [ ! -d "$PROJECT" ]
then
echo "Directory passed does not exist"
exit 2
fi
SCRIPT_RET=0
set -o nounset # Treat unset variables as an error
cd ${PROJECT}/FreeRTOS/Demo/Posix_GCC
make
SCRIPT_RET=$?
if [ "${SCRIPT_RET}" -eq 0 ]
then
exit 0
else
exit 1
fi

View file

@ -1,24 +0,0 @@
PROJECT=$1
echo "Verifying url links of: ${PROJECT}"
if [ ! -d "$PROJECT" ]
then
echo "Directory passed does not exist"
exit 2
fi
SCRIPT_RET=0
set -o nounset # Treat unset variables as an error
cd ${PROJECT}/FreeRTOS-Plus/Demo/FreeRTOS_Plus_TCP_Echo_Posix
make
SCRIPT_RET=$?
if [ "${SCRIPT_RET}" -eq 0 ]
then
exit 0
else
exit 1
fi