mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2026-01-22 09:40:32 -05:00
Move FreeRTOS Demo build checks to their own workflow file
This commit is contained in:
parent
32a3f4e8a1
commit
c2cdc3cb36
4 changed files with 130 additions and 88 deletions
24
.github/scripts/posix_build_checker.sh
vendored
24
.github/scripts/posix_build_checker.sh
vendored
|
|
@ -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
|
||||
|
||||
24
.github/scripts/posix_network_build_checker.sh
vendored
24
.github/scripts/posix_network_build_checker.sh
vendored
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue