mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-03 16:46:18 +00:00 
			
		
		
		
	Add build of everything.
This commit is contained in:
		
							
								
								
									
										2
									
								
								.github/travis/before-install.sh
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/travis/before-install.sh
									
									
									
									
										vendored
									
									
								
							@@ -3,7 +3,7 @@
 | 
				
			|||||||
if [ "$TRAVIS_OS_NAME" = "linux" ]; then
 | 
					if [ "$TRAVIS_OS_NAME" = "linux" ]; then
 | 
				
			||||||
	sudo apt-get update -qq
 | 
						sudo apt-get update -qq
 | 
				
			||||||
	sudo apt-get -y install bison \
 | 
						sudo apt-get -y install bison \
 | 
				
			||||||
			        autotools-dev \
 | 
									autotools-dev \
 | 
				
			||||||
				libncurses5-dev \
 | 
									libncurses5-dev \
 | 
				
			||||||
				libevent-dev \
 | 
									libevent-dev \
 | 
				
			||||||
				pkg-config \
 | 
									pkg-config \
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										35
									
								
								.github/travis/build-all.sh
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										35
									
								
								.github/travis/build-all.sh
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,35 @@
 | 
				
			|||||||
 | 
					#!/bin/sh
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					BUILD=$PWD/build
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					LIBEVENT=https://github.com/libevent/libevent/releases/download/release-2.1.11-stable/libevent-2.1.11-stab\
 | 
				
			||||||
 | 
					le.tar.gz
 | 
				
			||||||
 | 
					NCURSES=ftp://ftp.invisible-island.net/ncurses/ncurses-6.2.tar.gz
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					wget -q $LIBEVENT || exit 1
 | 
				
			||||||
 | 
					tar -zxf libevent-*.tar.gz || exit 1
 | 
				
			||||||
 | 
					(cd libevent-*/ &&
 | 
				
			||||||
 | 
					         ./configure --prefix=$BUILD \
 | 
				
			||||||
 | 
					                     --enable-shared \
 | 
				
			||||||
 | 
					                     --disable-libevent-regress \
 | 
				
			||||||
 | 
					                     --disable-samples &&
 | 
				
			||||||
 | 
					         make && make install) || exit 1
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					wget -q $NCURSES || exit 1
 | 
				
			||||||
 | 
					tar -zxf ncurses-*.tar.gz || exit 1
 | 
				
			||||||
 | 
					(cd ncurses-*/ &&
 | 
				
			||||||
 | 
					        CPPFLAGS=-P ./configure --prefix=$BUILD \
 | 
				
			||||||
 | 
					                     --with-shared \
 | 
				
			||||||
 | 
					                     --without-ada \
 | 
				
			||||||
 | 
					                     --without-cxx \
 | 
				
			||||||
 | 
					                     --without-manpages \
 | 
				
			||||||
 | 
					                     --without-progs \
 | 
				
			||||||
 | 
					                     --without-tests \
 | 
				
			||||||
 | 
					                     --without-tack \
 | 
				
			||||||
 | 
					                     --enable-pc-files \
 | 
				
			||||||
 | 
					                     --with-pkg-config-libdir=$BUILD/lib/pkgconfig &&
 | 
				
			||||||
 | 
					         make && make install) || exit 1
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					sh autogen.sh || exit 1
 | 
				
			||||||
 | 
					PKG_CONFIG_PATH=$BUILD/lib/pkgconfig ./configure --prefix=$BUILD "$@"
 | 
				
			||||||
 | 
					make && make install || exit 1
 | 
				
			||||||
							
								
								
									
										20
									
								
								.github/travis/build.sh
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										20
									
								
								.github/travis/build.sh
									
									
									
									
										vendored
									
									
								
							@@ -1,9 +1,17 @@
 | 
				
			|||||||
#!/bin/sh
 | 
					#!/bin/sh
 | 
				
			||||||
 | 
					
 | 
				
			||||||
sh autogen.sh || exit 1
 | 
					sh autogen.sh || exit 1
 | 
				
			||||||
if [ "$BUILD" = "static" ]; then
 | 
					case "$BUILD" in
 | 
				
			||||||
	./configure --enable-static || exit 1
 | 
						static)
 | 
				
			||||||
else
 | 
							./configure --enable-static || exit 1
 | 
				
			||||||
	./configure || exit 1
 | 
							exec make
 | 
				
			||||||
fi
 | 
							;;
 | 
				
			||||||
exec make
 | 
						all)
 | 
				
			||||||
 | 
							sh $(dirname $0)/build-all.sh
 | 
				
			||||||
 | 
							exec make
 | 
				
			||||||
 | 
							;;
 | 
				
			||||||
 | 
						*)
 | 
				
			||||||
 | 
							./configure || exit 1
 | 
				
			||||||
 | 
							exec make
 | 
				
			||||||
 | 
							;;
 | 
				
			||||||
 | 
					esac
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -12,15 +12,10 @@ arch:
 | 
				
			|||||||
  - amd64
 | 
					  - amd64
 | 
				
			||||||
  - arm64
 | 
					  - arm64
 | 
				
			||||||
 | 
					
 | 
				
			||||||
dist:
 | 
					 | 
				
			||||||
  - xenial
 | 
					 | 
				
			||||||
  - bionic
 | 
					 | 
				
			||||||
  - trusty
 | 
					 | 
				
			||||||
  - precise
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
env:
 | 
					env:
 | 
				
			||||||
  - BUILD=
 | 
					  - BUILD=
 | 
				
			||||||
  - BUILD=static
 | 
					  - BUILD=static
 | 
				
			||||||
 | 
					  - BUILD=all
 | 
				
			||||||
 | 
					
 | 
				
			||||||
jobs:
 | 
					jobs:
 | 
				
			||||||
  exclude:
 | 
					  exclude:
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user