Skip to content

Commit

Permalink
SKALED-1900 Add check in custom build
Browse files Browse the repository at this point in the history
  • Loading branch information
dimalit committed Aug 28, 2024
1 parent 616b6d4 commit 3859a55
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/setup-build-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,13 @@ jobs:
export CMAKE_BUILD_TYPE=$BUILD_TYPE
cd build
make skaled -j$(nproc)
if [[ "$BUILD_TYPE" = "Release" ]]; then
debug_wc=$(objdump -h skaled/skaled | grep -i debug | wc -l)
sym_wc=$(readelf -s skaled/skaled | wc -l)
if (( debug_wc != 0 || sym_wc > 10000 )); then
exit 1
fi
fi
cd ..
- name: Build and publish container
env:
Expand Down

0 comments on commit 3859a55

Please sign in to comment.