]> git.proxmox.com Git - ceph.git/blob - ceph/src/zstd/circle.yml
update download target update for octopus release
[ceph.git] / ceph / src / zstd / circle.yml
1 dependencies:
2 override:
3 - sudo dpkg --add-architecture i386
4 - sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test; sudo apt-get -y -qq update
5 - sudo apt-get -y install gcc-powerpc-linux-gnu gcc-arm-linux-gnueabi libc6-dev-armel-cross gcc-aarch64-linux-gnu libc6-dev-arm64-cross
6 - sudo apt-get -y install libstdc++-7-dev clang gcc g++ gcc-5 gcc-6 gcc-7 zlib1g-dev liblzma-dev
7 - sudo apt-get -y install linux-libc-dev:i386 libc6-dev-i386
8
9 test:
10 override:
11 - ? |
12 if [[ "$CIRCLE_NODE_INDEX" == "0" ]] ; then cc -v; make all && make clean && make -C lib libzstd-nomt && make clean; fi &&
13 if [[ "$CIRCLE_NODE_TOTAL" < "2" ]] || [[ "$CIRCLE_NODE_INDEX" == "1" ]]; then make gnu90build && make clean; fi
14 :
15 parallel: true
16 - ? |
17 if [[ "$CIRCLE_NODE_INDEX" == "0" ]] ; then make c99build && make clean; fi &&
18 if [[ "$CIRCLE_NODE_TOTAL" < "2" ]] || [[ "$CIRCLE_NODE_INDEX" == "1" ]]; then make gnu99build && make clean; fi
19 :
20 parallel: true
21 - ? |
22 if [[ "$CIRCLE_NODE_INDEX" == "0" ]] ; then make c11build && make clean; fi &&
23 if [[ "$CIRCLE_NODE_TOTAL" < "2" ]] || [[ "$CIRCLE_NODE_INDEX" == "1" ]]; then make cmakebuild && make clean; fi
24 :
25 parallel: true
26 - ? |
27 if [[ "$CIRCLE_NODE_INDEX" == "0" ]] ; then make gppbuild && make clean; fi &&
28 if [[ "$CIRCLE_NODE_TOTAL" < "2" ]] || [[ "$CIRCLE_NODE_INDEX" == "1" ]]; then make gcc5build && make clean; fi
29 :
30 parallel: true
31 - ? |
32 if [[ "$CIRCLE_NODE_INDEX" == "0" ]] ; then make gcc6build && make clean; fi &&
33 if [[ "$CIRCLE_NODE_TOTAL" < "2" ]] || [[ "$CIRCLE_NODE_INDEX" == "1" ]]; then make clangbuild && make clean; fi
34 :
35 parallel: true
36 - ? |
37 if [[ "$CIRCLE_NODE_INDEX" == "0" ]] ; then make m32build && make clean; fi &&
38 if [[ "$CIRCLE_NODE_TOTAL" < "2" ]] || [[ "$CIRCLE_NODE_INDEX" == "1" ]]; then make armbuild && make clean; fi
39 :
40 parallel: true
41 - ? |
42 if [[ "$CIRCLE_NODE_INDEX" == "0" ]] ; then make aarch64build && make clean; fi &&
43 if [[ "$CIRCLE_NODE_TOTAL" < "2" ]] || [[ "$CIRCLE_NODE_INDEX" == "1" ]]; then make ppcbuild && make clean; fi
44 :
45 parallel: true
46 - ? |
47 if [[ "$CIRCLE_NODE_INDEX" == "0" ]] ; then make ppc64build && make clean; fi &&
48 if [[ "$CIRCLE_NODE_TOTAL" < "2" ]] || [[ "$CIRCLE_NODE_INDEX" == "1" ]]; then make gcc7build && make clean; fi
49 :
50 parallel: true
51 - ? |
52 if [[ "$CIRCLE_NODE_INDEX" == "0" ]] ; then make shortest && make clean; fi &&
53 if [[ "$CIRCLE_NODE_TOTAL" < "2" ]] || [[ "$CIRCLE_NODE_INDEX" == "1" ]]; then make -C tests test-legacy test-longmatch test-symbols && make clean; fi
54 :
55 parallel: true
56 - ? |
57 if [[ "$CIRCLE_NODE_INDEX" == "0" ]] ; then make -j regressiontest && make clean; fi &&
58 if [[ "$CIRCLE_NODE_TOTAL" < "2" ]] || [[ "$CIRCLE_NODE_INDEX" == "1" ]]; then true; fi # Could add another test here
59 :
60 parallel: true
61
62 post:
63 - echo Circle CI tests finished
64
65 # Longer tests
66 #- make -C tests test-zstd-nolegacy && make clean
67 #- pyenv global 3.4.4; make -C tests versionsTest && make clean
68 #- make zlibwrapper && make clean
69 #- gcc -v; make -C tests test32 MOREFLAGS="-I/usr/include/x86_64-linux-gnu" && make clean
70 #- make uasan && make clean
71 #- make asan32 && make clean
72 #- make -C tests test32 CC=clang MOREFLAGS="-g -fsanitize=address -I/usr/include/x86_64-linux-gnu"
73 # Valgrind tests
74 #- CFLAGS="-O1 -g" make -C zlibWrapper valgrindTest && make clean
75 #- make -C tests valgrindTest && make clean
76 # ARM, AArch64, PowerPC, PowerPC64 tests
77 #- make ppctest && make clean
78 #- make ppc64test && make clean
79 #- make armtest && make clean
80 #- make aarch64test && make clean