add global build script

Signed-off-by: xiehuc <xiehuc@gmail.com>