2016-09-15 11:42:43 +03:00
|
|
|
sudo: false # use new container
|
|
|
|
language: c
|
|
|
|
|
|
|
|
branches:
|
2017-07-06 06:15:02 +03:00
|
|
|
except: /^(gh-pages|v0\.[0-8].*)/
|
2016-09-15 11:42:43 +03:00
|
|
|
|
|
|
|
addons:
|
|
|
|
apt:
|
2017-02-22 22:28:38 +03:00
|
|
|
packages: &common_deps
|
2016-09-15 11:42:43 +03:00
|
|
|
- nasm
|
2017-02-22 22:28:38 +03:00
|
|
|
|
|
|
|
min_amd64_deps: &min_amd64_deps
|
|
|
|
- *common_deps
|
|
|
|
- libpam0g-dev
|
|
|
|
- libssl-dev
|
|
|
|
- libx11-dev
|
|
|
|
- libxrandr-dev
|
2019-08-19 09:20:14 +03:00
|
|
|
- libxfixes-dev
|
2017-02-22 22:28:38 +03:00
|
|
|
|
|
|
|
min_amd64_conf: &min_amd64_conf
|
|
|
|
env:
|
|
|
|
- CONF_FLAGS="--disable-ipv6 --disable-jpeg --disable-fuse --disable-mp3lame
|
2017-11-10 05:17:11 +03:00
|
|
|
--disable-fdkaac --disable-opus --disable-rfxcodec --disable-painter
|
|
|
|
--disable-pixman"
|
2017-02-22 22:28:38 +03:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- *min_amd64_deps
|
|
|
|
|
|
|
|
max_amd64_deps: &max_amd64_deps
|
|
|
|
- *min_amd64_deps
|
|
|
|
- libfuse-dev
|
|
|
|
- libjpeg-dev
|
|
|
|
- libmp3lame-dev
|
2017-11-10 05:17:11 +03:00
|
|
|
- libfdk-aac-dev
|
|
|
|
- libopus-dev
|
2017-02-22 22:28:38 +03:00
|
|
|
- libpixman-1-dev
|
|
|
|
|
|
|
|
max_amd64_conf: &max_amd64_conf
|
|
|
|
env:
|
|
|
|
- CONF_FLAGS="--enable-ipv6 --enable-jpeg --enable-fuse --enable-mp3lame
|
2017-11-10 05:17:11 +03:00
|
|
|
--enable-fdkaac --enable-opus --enable-rfxcodec --enable-painter
|
|
|
|
--enable-pixman"
|
2017-02-22 22:28:38 +03:00
|
|
|
- DISTCHECK=1
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- *max_amd64_deps
|
|
|
|
|
|
|
|
max_x86_deps: &max_x86_deps
|
|
|
|
- *common_deps
|
|
|
|
- g++-multilib
|
|
|
|
- gcc-multilib
|
2017-09-07 04:55:41 +03:00
|
|
|
- libgl1-mesa-dev:i386
|
2017-02-22 22:28:38 +03:00
|
|
|
- libglu1-mesa-dev:i386
|
|
|
|
- libjpeg-dev:i386
|
|
|
|
- libmp3lame-dev:i386
|
2017-11-10 05:17:11 +03:00
|
|
|
- libfdk-aac-dev:i386
|
|
|
|
- libopus-dev:i386
|
2017-02-22 22:28:38 +03:00
|
|
|
- libpam0g-dev:i386
|
|
|
|
- libssl-dev:i386
|
|
|
|
- libx11-dev:i386
|
|
|
|
- libxext-dev:i386
|
|
|
|
- libxfixes-dev:i386
|
|
|
|
- libxrandr-dev:i386
|
|
|
|
- libxrender-dev:i386
|
|
|
|
- openssl:i386
|
|
|
|
|
|
|
|
# No --enable-pixman to allow testing the replacement code
|
|
|
|
# No --enable-fuse due to failing libfuse-dev:i386 package install
|
|
|
|
max_x86_conf: &max_x86_conf
|
|
|
|
env:
|
|
|
|
- CONF_FLAGS="--enable-ipv6 --enable-jpeg --disable-fuse --enable-mp3lame
|
2017-11-10 05:17:11 +03:00
|
|
|
--enable-fdkaac --enable-opus --enable-rfxcodec --enable-painter
|
|
|
|
--disable-pixman --host=i686-linux"
|
2017-02-22 22:28:38 +03:00
|
|
|
- PKG_CONFIG_PATH=/usr/lib/i386-linux-gnu/pkgconfig
|
|
|
|
- CFLAGS=-m32
|
|
|
|
- LDFLAGS=-m32
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- *max_x86_deps
|
|
|
|
|
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
|
|
|
|
# Minimal amd64 build
|
|
|
|
- compiler: gcc
|
|
|
|
<< : *min_amd64_conf
|
|
|
|
- compiler: g++
|
|
|
|
<< : *min_amd64_conf
|
|
|
|
- compiler: clang
|
|
|
|
<< : *min_amd64_conf
|
|
|
|
|
|
|
|
# Maximal amd64 build
|
|
|
|
- compiler: gcc
|
|
|
|
<< : *max_amd64_conf
|
|
|
|
- compiler: g++
|
|
|
|
<< : *max_amd64_conf
|
|
|
|
- compiler: clang
|
|
|
|
<< : *max_amd64_conf
|
|
|
|
|
|
|
|
# Maximal x86 build
|
|
|
|
- compiler: gcc
|
|
|
|
<< : *max_x86_conf
|
|
|
|
- compiler: g++
|
|
|
|
<< : *max_x86_conf
|
|
|
|
- compiler: clang
|
|
|
|
<< : *max_x86_conf
|
2016-12-25 01:28:14 +03:00
|
|
|
|
2016-09-15 11:42:43 +03:00
|
|
|
script:
|
2016-12-25 01:28:14 +03:00
|
|
|
- ./bootstrap
|
|
|
|
- ./configure $CONF_FLAGS
|
2017-02-22 22:28:38 +03:00
|
|
|
- make CFLAGS="$CFLAGS -O2 -Wall -Wwrite-strings -Werror"
|
|
|
|
- test -z "$DISTCHECK" || make distcheck
|