[build] Record binary size via GitHub check

This commit is contained in:
John Firebaugh
2018-07-02 14:09:58 -07:00
parent 6fc0eb908b
commit 840a5cf120
9 changed files with 73 additions and 139 deletions

3
platform/linux/scripts/metrics.sh Executable file → Normal file
View File

@@ -8,5 +8,4 @@ ARCH=$(uname -m)
RENDER=build/linux-${ARCH}/Release/mbgl-render
strip -s -x "${RENDER}" -o "${RENDER}-stripped"
# Track individual architecture
scripts/log_binary_size.sh "${RENDER}-stripped" "Platform=Linux,Compiler=${_CC},Arch=${ARCH}"
scripts/check_binary_size.js "${RENDER}-stripped" "Linux"