Skip to content

Commit

Permalink
fix: Added block to generate native source
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinshahfws committed Jul 10, 2024
1 parent b823b44 commit 011bce9
Showing 1 changed file with 18 additions and 12 deletions.
30 changes: 18 additions & 12 deletions .github/workflows/utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -159,34 +159,40 @@ function generateSource() {
if [ $? -eq 0 ]
then
echo "Native Core SDK generated successfully"
echo " Core SDK Location"
cd build/cpp/src/
ls -la
else
echo "Native Core SDK generation failed"
exit 1
fi

echo "Generate source for Manage SDK"
cd ../manage
cd ../../../../manage
npm run cpp

if [ $? -eq 0 ]
then
echo "Native Manage SDK generated successfully"
echo " Manage SDK Location"
cd build/cpp/src/
ls -la
else
echo "Native Manage SDK generation failed"
exit 1
fi

echo "Generate source for Discovery SDK"
cd ../discovery
npm run cpp

if [ $? -eq 0 ]
then
echo "Native Discovery SDK generated successfully"
else
echo "Native Discovery SDK generation failed"
exit 1
fi
# echo "Generate source for Discovery SDK"
# cd ../discovery
# npm run cpp

# if [ $? -eq 0 ]
# then
# echo "Native Discovery SDK generated successfully"
# else
# echo "Native Discovery SDK generation failed"
# exit 1
# fi

echo "************ Source Generation Completed ************"
pwd
Expand Down

0 comments on commit 011bce9

Please sign in to comment.