43 lines
1.9 KiB
YAML
43 lines
1.9 KiB
YAML
|
dependencies:
|
||
|
override:
|
||
|
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test; sudo apt-get -y -qq update
|
||
|
- sudo apt-get -y install qemu-system-ppc qemu-user-static gcc-powerpc-linux-gnu
|
||
|
- sudo apt-get -y install qemu-system-arm gcc-arm-linux-gnueabi libc6-dev-armel-cross gcc-aarch64-linux-gnu libc6-dev-arm64-cross
|
||
|
- sudo apt-get -y install libc6-dev-i386 clang gcc-5 gcc-6 valgrind
|
||
|
|
||
|
test:
|
||
|
override:
|
||
|
# Tests compilers and C standards
|
||
|
- clang -v; make clangtest && make clean
|
||
|
- g++ -v; make gpptest && make clean
|
||
|
- gcc -v; make gnu90test && make clean
|
||
|
- gcc -v; make c99test && make clean
|
||
|
- gcc -v; make gnu99test && make clean
|
||
|
- gcc-5 -v; make gcc5test && make clean
|
||
|
- gcc-6 -v; make gcc6test && make clean
|
||
|
# Shorter tests
|
||
|
- make cmaketest && make clean
|
||
|
- make zlibwrapper && make clean
|
||
|
- make -C lib all && make clean
|
||
|
- make -C tests dll && make clean
|
||
|
- make -C tests test-symbols && make clean
|
||
|
- make -C tests test-zstd-nolegacy && make clean
|
||
|
- make -C tests test-longmatch && make clean
|
||
|
- pyenv global 3.4.4; make -C tests versionsTest && make clean
|
||
|
- make -C programs zstd-small zstd-decompress zstd-compress && make -C programs clean
|
||
|
- make travis-install && make clean
|
||
|
# Longer tests
|
||
|
- make test && make clean
|
||
|
- gcc -v; make -C tests test32 MOREFLAGS="-I/usr/include/x86_64-linux-gnu" && make clean
|
||
|
- make usan && make clean
|
||
|
- make asan && make clean
|
||
|
- make asan32 && make clean
|
||
|
# Valgrind tests
|
||
|
- CFLAGS="-O1 -g" make -C zlibWrapper valgrindTest && make clean
|
||
|
- make -C tests valgrindTest && make clean
|
||
|
# ARM, AArch64, PowerPC, PowerPC64 tests
|
||
|
- make ppctest && make clean
|
||
|
- make ppc64test && make clean
|
||
|
- make armtest && make clean
|
||
|
- make aarch64test && make clean
|