Merge branch 'obsd-master'
[tmux.git] / .github / travis / build.sh
blobf863d8ad2337fd9369bb904f6476527b748d64b0
1 #!/bin/sh
3 sh autogen.sh || exit 1
4 case "$BUILD" in
5 static)
6 ./configure --enable-static || exit 1
7 exec make
8 ;;
9 all)
10 sh $(dirname $0)/build-all.sh
11 exec make
13 musl)
14 CC=musl-gcc sh $(dirname $0)/build-all.sh
15 exec make
17 musl-static)
18 CC=musl-gcc sh $(dirname $0)/build-all.sh --enable-static
19 exec make
22 ./configure || exit 1
23 exec make
25 esac