Skip to content

Commit

Permalink
Fail builds on mac and linux of kaleido executable wasn't created
Browse files Browse the repository at this point in the history
  • Loading branch information
jonmmease committed Mar 3, 2021
1 parent 4560ade commit 586be5c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
5 changes: 5 additions & 0 deletions repos/linux_scripts/perform_kaleido_build
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ cp -r /repos/kaleido/cc/* headless/app/
# Perform build, result will be out/Kaleido_linux_$KALEIDO_ARCH/kaleido
ninja -C out/Kaleido_linux_$KALEIDO_ARCH -j 16 kaleido

if [ ! -f "out/Kaleido_linux_$KALEIDO_ARCH/kaleido" ]
then
echo "Error: Kaleido executable was not built";
exit 1
fi

## First build up kaledo_minimal directory with core kaleido files
mkdir -p /repos/build/kaleido_minimal/
Expand Down
6 changes: 6 additions & 0 deletions repos/mac_scripts/build_kaleido
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,12 @@ cp -r ../kaleido/cc/* headless/app/
gn gen out/Kaleido_mac_$KALEIDO_ARCH
ninja -C out/Kaleido_mac_$KALEIDO_ARCH -j 8 kaleido

if [ ! -f "out/Kaleido_mac_$KALEIDO_ARCH/kaleido" ]
then
echo "Error: Kaleido executable was not built";
exit 1
fi

# 5) Copy build files
mkdir -p ../build/kaleido/
rm -r ../build/kaleido/*
Expand Down

0 comments on commit 586be5c

Please sign in to comment.