2017-02-14 19:06:41 +00:00
|
|
|
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
|
|
|
|
|
2017-02-16 13:39:21 +00:00
|
|
|
# use default "parallel: true" for commands in the machine, checkout, dependencies and database build phase
|
|
|
|
post:
|
2017-02-16 14:59:00 +00:00
|
|
|
- |
|
|
|
|
if [[ "$CIRCLE_NODE_INDEX" == "0" ]]; then
|
|
|
|
clang -v; make clangtest
|
|
|
|
g++ -v; make gpptest
|
|
|
|
gcc -v; make gnu90test
|
|
|
|
gcc -v; make c99test
|
|
|
|
gcc -v; make gnu99test
|
|
|
|
make gcc5test
|
|
|
|
gcc-6 -v; make gcc6test
|
|
|
|
make cmaketest
|
|
|
|
make travis-install
|
|
|
|
make lib
|
|
|
|
make -C programs zstd-small zstd-decompress zstd-compress;
|
|
|
|
fi
|
|
|
|
if [[ "$CIRCLE_NODE_TOTAL" < "2" ]] || [[ "$CIRCLE_NODE_INDEX" == "1" ]]; then
|
|
|
|
make -C tests test-zstd
|
|
|
|
make -C tests test-fullbench
|
|
|
|
make -C tests test-fuzzer
|
|
|
|
make -C tests test-zstream
|
|
|
|
make -C tests test-legacy
|
|
|
|
make -C tests test-symbols
|
|
|
|
make -C tests test-longmatch
|
|
|
|
make -C tests test-invalidDictionaries
|
|
|
|
make -C tests dll
|
|
|
|
fi
|
2017-02-16 13:39:21 +00:00
|
|
|
|
2017-02-14 19:06:41 +00:00
|
|
|
# Longer tests
|
2017-02-16 12:08:30 +00:00
|
|
|
#- make -C tests test-zstd-nolegacy && make clean
|
|
|
|
#- pyenv global 3.4.4; make -C tests versionsTest && make clean
|
|
|
|
#- make zlibwrapper && make clean
|
|
|
|
#- gcc -v; make -C tests test32 MOREFLAGS="-I/usr/include/x86_64-linux-gnu" && make clean
|
|
|
|
#- make uasan && make clean
|
|
|
|
#- make asan32 && make clean
|
2017-02-14 19:06:41 +00:00
|
|
|
# Valgrind tests
|
2017-02-16 12:08:30 +00:00
|
|
|
#- CFLAGS="-O1 -g" make -C zlibWrapper valgrindTest && make clean
|
|
|
|
#- make -C tests valgrindTest && make clean
|
2017-02-14 19:06:41 +00:00
|
|
|
# ARM, AArch64, PowerPC, PowerPC64 tests
|
2017-02-16 12:08:30 +00:00
|
|
|
#- make ppctest && make clean
|
|
|
|
#- make ppc64test && make clean
|
|
|
|
#- make armtest && make clean
|
|
|
|
#- make aarch64test && make clean
|