matrix:
include:
# Windows tests
+ # clang/cmake
- os: windows
compiler: clang
env:
- GENERATOR="cmake . "
- MAKER="cmake --build . --config Release"
- TESTER="ctest --verbose -C Release"
+
- os: windows
compiler: clang
env:
- MAKER="cmake --build . --config Release"
- TESTER="ctest --verbose -C Release"
- BUILDDIR=..\\build
+
+ # gcc/cmake
- os: windows
compiler: gcc
env:
- MAKER="cmake --build . --config Release"
- TESTER="ctest --verbose -C Release"
+
# Linux x86-64 tests
+ # gcc/configure
- os: linux
compiler: gcc
env: GENERATOR="./configure --warn"
+
- os: linux
compiler: gcc
- env: GENERATOR="cmake . -DZLIB_COMPAT=OFF -DWITH_GZFILEOP=ON -DWITH_NEW_STRATEGIES=YES -DWITH_OPTIM=ON"
+ env: GENERATOR="./configure --warn --zlib-compat --without-optimizations --without-new-strategies"
+
- os: linux
compiler: gcc
env:
- GENERATOR="../zlib-ng/configure --warn --zlib-compat"
- BUILDDIR=../build
+
+ # gcc/cmake
- os: linux
compiler: gcc
- env: GENERATOR="./configure --warn --zlib-compat --without-optimizations --without-new-strategies"
+ env:
+ - GENERATOR="cmake ."
+ - TESTER="ctest --verbose -C Release"
+
- os: linux
compiler: gcc
- env: GENERATOR="cmake ."
+ env:
+ - GENERATOR="cmake . -DWITH_NEW_STRATEGIES=NO -DWITH_OPTIM=NO"
+ - TESTER="ctest --verbose -C Release"
+
- os: linux
compiler: gcc
env:
- - GENERATOR="cmake ../zlib-ng"
+ - GENERATOR="cmake ../zlib-ng -DZLIB_COMPAT=ON"
+ - TESTER="ctest --verbose -C Release"
- BUILDDIR=../build
+ # clang/configure
- os: linux
compiler: clang
env: GENERATOR="./configure --warn --zlib-compat"
+
+ # clang/cmake
- os: linux
compiler: clang
env:
- GENERATOR="cmake ../zlib-ng"
+ - TESTER="ctest --verbose -C Release"
- BUILDDIR=../build
+
- os: linux
compiler: clang
env:
- GENERATOR="scan-build -v --status-bugs cmake ../zlib-ng"
- MAKER="scan-build -v --status-bugs make"
+ - TESTER="ctest --verbose -C Release"
- BUILDDIR=../build
- # GCC-9 test
+ - os: linux
+ compiler: clang
+ env:
+ - GENERATOR="scan-build -v --status-bugs cmake ../zlib-ng -DZLIB_COMPAT=ON"
+ - MAKER="scan-build -v --status-bugs make"
+ - TESTER="ctest --verbose -C Release"
+ - BUILDDIR=../build
+
+ # gcc-9/cmake
- os: linux
compiler: gcc-9
addons:
packages:
- gcc-9
env:
- - GENERATOR="./configure --warn"
- CC=gcc-9
+ - GENERATOR="cmake ."
+ - TESTER="ctest --verbose -C Release"
+
# OSX tests
+ # gcc/configure
- os: osx
compiler: gcc
- env: GENERATOR="./configure --warn --zlib-compat"
+ env: GENERATOR="./configure --warn"
+
- os: osx
compiler: gcc
env:
- GENERATOR="../zlib-ng/configure --warn --zlib-compat"
- BUILDDIR=../build
+
+ # gcc/cmake
- os: osx
compiler: gcc
- env: GENERATOR="cmake ."
+ env:
+ - GENERATOR="cmake ."
+ - TESTER="ctest --verbose -C Release"
+ # clang/configure
- os: osx
compiler: clang
env: GENERATOR="./configure --warn --zlib-compat"
+
+ # clang/cmake
- os: osx
compiler: clang
env:
- GENERATOR="cmake ../zlib-ng"
+ - TESTER="ctest --verbose -C Release"
- BUILDDIR=../build
- # compiling for linux-ppc64le variants
+
+ # Linux ppc64le
+ # gcc/cmake
- os: linux-ppc64le
compiler: gcc
env: GENERATOR="cmake ."
+
- os: linux-ppc64le
compiler: gcc
env:
- - GENERATOR="cmake ../zlib-ng"
+ - GENERATOR="cmake ../zlib-ng -DZLIB_COMPAT=ON"
+ - TESTER="ctest --verbose -C Release"
- BUILDDIR=../build
+ # clang/configure
- os: linux-ppc64le
compiler: clang
env: GENERATOR="./configure --warn --zlib-compat"
+
+ # clang/cmake
- os: linux-ppc64le
compiler: clang
env:
- GENERATOR="cmake ../zlib-ng"
+ - TESTER="ctest --verbose -C Release"
- BUILDDIR=../build
- # Cross compiling for arm variants
+
+ # Linux AARCH64, cross compiled + qemu
+ # gcc/configure
- os: linux
compiler: aarch64-linux-gnu-gcc
addons:
- libc-dev-arm64-cross
# For all aarch64 implementations NEON is mandatory, while crypto/crc are not.
env:
- - GENERATOR="./configure --warn --zlib-compat"
+ - GENERATOR="./configure --warn"
- CHOST=aarch64-linux-gnu
+
- os: linux
compiler: aarch64-linux-gnu-gcc
addons:
- qemu
- gcc-aarch64-linux-gnu
- libc-dev-arm64-cross
- # For all aarch64 implementations NEON is mandatory, while crypto/crc are not.
env:
- - GENERATOR="cmake -DCMAKE_TOOLCHAIN_FILE=cmake/toolchain-aarch64.cmake . -DZLIB_COMPAT=ON"
- - MAKER="cmake --build . --config Release"
- - TESTER="ctest --verbose -C Release"
+ - GENERATOR="../zlib-ng/configure --warn --zlib-compat"
+ - CHOST=aarch64-linux-gnu
+ - BUILDDIR=../build
+
+ # gcc/cmake
- os: linux
compiler: aarch64-linux-gnu-gcc
addons:
- qemu
- gcc-aarch64-linux-gnu
- libc-dev-arm64-cross
+ # For all aarch64 implementations NEON is mandatory, while crypto/crc are not.
env:
- - GENERATOR="./configure --warn --zlib-compat"
- - CHOST=aarch64-linux-gnu
+ - GENERATOR="cmake -DCMAKE_TOOLCHAIN_FILE=cmake/toolchain-aarch64.cmake . -DZLIB_COMPAT=ON"
+ - MAKER="cmake --build . --config Release"
+ - TESTER="ctest --verbose -C Release"
+
- os: linux
compiler: aarch64-linux-gnu-gcc
addons:
- GENERATOR="cmake -DCMAKE_TOOLCHAIN_FILE=cmake/toolchain-aarch64.cmake ."
- MAKER="cmake --build . --config Release"
- TESTER="ctest --verbose -C Release"
- # Hard-float subsets
+
+ # Linux ARM Hard-float, cross compiled + qemu
+ # gcc/configure
- os: linux
compiler: arm-linux-gnueabihf-gcc
addons:
env:
- GENERATOR="./configure --warn"
- CHOST=arm-linux-gnueabihf
+
- os: linux
compiler: arm-linux-gnueabihf-gcc
addons:
- gcc-arm-linux-gnueabihf
- libc-dev-armhf-cross
env:
- - GENERATOR="cmake -DCMAKE_TOOLCHAIN_FILE=cmake/toolchain-arm.cmake . -DCMAKE_C_COMPILER_TARGET=arm-linux-gnueabihf"
- - MAKER="cmake --build . --config Release"
- - TESTER="ctest --verbose -C Release"
+ - GENERATOR="./configure --warn --zlib-compat --without-neon"
+ - CHOST=arm-linux-gnueabihf
+
- os: linux
compiler: arm-linux-gnueabihf-gcc
addons:
- gcc-arm-linux-gnueabihf
- libc-dev-armhf-cross
env:
- - GENERATOR="./configure --warn --zlib-compat --without-neon"
+ - GENERATOR="./configure --warn --zlib-compat"
- CHOST=arm-linux-gnueabihf
+
+ # gcc/cmake
- os: linux
compiler: arm-linux-gnueabihf-gcc
addons:
- gcc-arm-linux-gnueabihf
- libc-dev-armhf-cross
env:
- - GENERATOR="cmake -DCMAKE_TOOLCHAIN_FILE=cmake/toolchain-arm.cmake . -DZLIB_COMPAT=ON -DWITH_NEON=OFF -DCMAKE_C_COMPILER_TARGET=arm-linux-gnueabihf"
+ - GENERATOR="cmake -DCMAKE_TOOLCHAIN_FILE=cmake/toolchain-arm.cmake . -DCMAKE_C_COMPILER_TARGET=arm-linux-gnueabihf"
- MAKER="cmake --build . --config Release"
- TESTER="ctest --verbose -C Release"
+
- os: linux
compiler: arm-linux-gnueabihf-gcc
addons:
- gcc-arm-linux-gnueabihf
- libc-dev-armhf-cross
env:
- - GENERATOR="./configure --warn --zlib-compat"
- - CHOST=arm-linux-gnueabihf
+ - GENERATOR="cmake -DCMAKE_TOOLCHAIN_FILE=cmake/toolchain-arm.cmake . -DZLIB_COMPAT=ON -DWITH_NEON=OFF -DCMAKE_C_COMPILER_TARGET=arm-linux-gnueabihf"
+ - MAKER="cmake --build . --config Release"
+ - TESTER="ctest --verbose -C Release"
+
- os: linux
compiler: arm-linux-gnueabihf-gcc
addons:
- GENERATOR="cmake -DCMAKE_TOOLCHAIN_FILE=cmake/toolchain-arm.cmake . -DZLIB_COMPAT=ON -DCMAKE_C_COMPILER_TARGET=arm-linux-gnueabihf"
- MAKER="cmake --build . --config Release"
- TESTER="ctest --verbose -C Release"
- # Soft-float subset
+
+ # Linux ARM Soft-float, cross compiled + qemu
+ # gcc/configure
- os: linux
compiler: arm-linux-gnueabi-gcc
addons:
env:
- GENERATOR="./configure"
- CHOST=arm-linux-gnueabi
+
- os: linux
compiler: arm-linux-gnueabi-gcc
addons:
- gcc-arm-linux-gnueabi
- libc-dev-armel-cross
env:
- - GENERATOR="cmake -DCMAKE_TOOLCHAIN_FILE=cmake/toolchain-arm.cmake . -DCMAKE_C_COMPILER_TARGET=arm-linux-gnueabi"
- - MAKER="cmake --build . --config Release"
- - TESTER="ctest --verbose -C Release"
+ - GENERATOR="./configure --zlib-compat"
+ - CHOST=arm-linux-gnueabi
+
+ # gcc/cmake
- os: linux
compiler: arm-linux-gnueabi-gcc
addons:
- gcc-arm-linux-gnueabi
- libc-dev-armel-cross
env:
- - GENERATOR="./configure --zlib-compat"
- - CHOST=arm-linux-gnueabi
+ - GENERATOR="cmake -DCMAKE_TOOLCHAIN_FILE=cmake/toolchain-arm.cmake . -DCMAKE_C_COMPILER_TARGET=arm-linux-gnueabi"
+ - MAKER="cmake --build . --config Release"
+ - TESTER="ctest --verbose -C Release"
+
- os: linux
compiler: arm-linux-gnueabi-gcc
addons: