]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
circle test
authorGeorge Lu <gclu@fb.com>
Tue, 5 Jun 2018 21:10:29 +0000 (14:10 -0700)
committerGeorge Lu <gclu@fb.com>
Tue, 5 Jun 2018 21:10:29 +0000 (14:10 -0700)
circle.yml

index ed50d59e5d9b8fc09d20c0fae2707f2af8291914..8c69f5944a32237e3264aa62dd3a896e61ddcac1 100644 (file)
@@ -41,6 +41,15 @@ test:
         if [[ "$CIRCLE_NODE_TOTAL" < "2" ]] || [[ "$CIRCLE_NODE_INDEX" == "1" ]]; then make -C lib libzstd-nomt && make clean; fi
       :
         parallel: true
+    - ? |
+        if [[ "$CIRCLE_NODE_INDEX" == "0" ]]                                    ; then ZSTD_LIB_COMPRESSION=0 make -C lib libzstd.a; nm lib/libzstd.a | grep ".*\.o:" > tmplog; 
+                                                                                  ! grep "zstd_compress" tmplog && grep "zstd_decompress" tmplog && ! grep "dict" tmplog \
+                                                                                  && grep "zstd_v" tmplog && make clean && rm tmplog; fi &&
+        if [[ "$CIRCLE_NODE_TOTAL" < "2" ]] || [[ "$CIRCLE_NODE_INDEX" == "1" ]]; then ZSTD_LIB_DECOMPRESSION=0 make -C lib libzstd.a; nm lib/libzstd.a | grep ".*\.o:" > tmplog; 
+                                                                                  grep "zstd_compress" tmplog && ! grep "zstd_decompress" tmplog && grep "dict" tmplog && \
+                                                                                  ! grep "zstd_v" tmplog && make clean && rm tmplog; fi
+      :
+        parallel: true
 
   post:
     - echo Circle CI tests finished