k3s/scripts/ci
Brian Downs f72d39ad9c
add binary size check script, makefile target, and added to CI (#2209)
* add binary size check script, makefile target, and added to drone

Signed-off-by: Brian Downs <brian.downs@gmail.com>

* move script call to package script

Signed-off-by: Brian Downs <brian.downs@gmail.com>

* move script call to ci script

Signed-off-by: Brian Downs <brian.downs@gmail.com>
2020-09-04 13:54:23 -07:00

14 lines
142 B
Bash
Executable File

#!/bin/bash
set -e
cd $(dirname $0)
./download
if [ -z "$SKIP_VALIDATE" ]; then
./validate
fi
./build
./package
./binary_size_check.sh