mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-10-15 17:27:46 -04:00
* Add Posix build checker to git actions * fix checker path * Fix script, checkout recursively * fix build check script return value * clone submodules as well with posix checker * Add quotes to true for submodules * Fix Submodules * Remove pcap dependency from Makefile * install libpcap for build check * Add networking build to posix * Separate network build from normal build * add libpcap after building normal posix
24 lines
336 B
Bash
24 lines
336 B
Bash
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
|
|
|