]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
transferred inter-versions compatibility tests to GA
authorYann Collet <yann.collet.73@gmail.com>
Sun, 29 Aug 2021 18:53:56 +0000 (11:53 -0700)
committerYann Collet <yann.collet.73@gmail.com>
Sun, 29 Aug 2021 18:53:56 +0000 (11:53 -0700)
.github/workflows/dev-short-tests.yml
.travis.yml

index 1f676c46b977b8c7c8cc8ba95d7d1bf18daf1e78..bd3e16da93b44fc8a3bf790d3ea12b27447d9ca0 100644 (file)
@@ -2,7 +2,7 @@ name: dev-short-tests
 # Faster tests: mostly build tests, along with some other
 # misc tests
 
-concurrency: 
+concurrency:
   group: fast-${{ github.ref }}
   cancel-in-progress: true
 
@@ -140,7 +140,7 @@ jobs:
         sudo apt-get -qqq update
         make libc6install
         CFLAGS="-Werror -m32" make -j all32
-  
+
   gcc-8-make:
     runs-on: ubuntu-latest
     steps:
@@ -184,7 +184,7 @@ jobs:
       run: >
         msbuild "build\VS2010\zstd.sln" /m /verbosity:minimal /property:PlatformToolset=v140
         /t:Clean,Build /p:Platform=${{matrix.platform}} /p:Configuration=${{matrix.configuration}}
-  
+
   minimal-decompressor-macros:
     runs-on: ubuntu-latest
     steps:
@@ -200,6 +200,14 @@ jobs:
         make clean && make -j all MOREFLAGS="-Werror -DZSTD_NO_INLINE -DZSTD_STRIP_ERROR_STRINGS"
         make clean && make check MOREFLAGS="-Werror -DZSTD_NO_INLINE -DZSTD_STRIP_ERROR_STRINGS"
 
+  versions-compatibility:
+    runs-on: ubuntu-latest
+    steps:
+    - uses: actions/checkout@v2
+    - name: Versions Compatibility Test
+      run: |
+        make -C tests versionsTest
+
 # For reference : icc tests
 # icc tests are currently failing on Github Actions, likely to issues during installation stage
 # To be fixed later
index 7b202cb8883a8dc6b7ea50ccb8157c1e4a32a80f..85fbf78b83e0dc28be5c1ca3837bda90048b3200 100644 (file)
@@ -43,31 +43,19 @@ matrix:
       arch: arm64
       script:
         - make check
-    
+
     - name: arm64fuzz
       os: linux
       arch: arm64
       script:
         - make -C tests fuzztest
-    
-    # TODO: migrate to GH actions once warnings are fixed
-    - name: Minimal Decompressor Macros    # ~5mn
-      script:
-        - make clean && make -j all ZSTD_LIB_MINIFY=1 MOREFLAGS="-Werror"
-        - make clean && make check ZSTD_LIB_MINIFY=1 MOREFLAGS="-Werror"
-        - make clean && make -j all MOREFLAGS="-Werror -DHUF_FORCE_DECOMPRESS_X1 -DZSTD_FORCE_DECOMPRESS_SEQUENCES_SHORT"
-        - make clean && make check MOREFLAGS="-Werror -DHUF_FORCE_DECOMPRESS_X1 -DZSTD_FORCE_DECOMPRESS_SEQUENCES_SHORT"
-        - make clean && make -j all MOREFLAGS="-Werror -DHUF_FORCE_DECOMPRESS_X2 -DZSTD_FORCE_DECOMPRESS_SEQUENCES_LONG"
-        - make clean && make check MOREFLAGS="-Werror -DHUF_FORCE_DECOMPRESS_X2 -DZSTD_FORCE_DECOMPRESS_SEQUENCES_LONG"
-        - make clean && make -j all MOREFLAGS="-Werror -DZSTD_NO_INLINE -DZSTD_STRIP_ERROR_STRINGS"
-        - make clean && make check MOREFLAGS="-Werror -DZSTD_NO_INLINE -DZSTD_STRIP_ERROR_STRINGS"
 
     # TODO: migrate to GH actions once newest clang staticanalyze warnings are fixed
     - name: static analyzer scanbuild    # ~26mn
       dist: trusty  # note : it's important to pin down a version of static analyzer, since different versions report different false positives
       script:
         - make staticAnalyze
-    
+
     # GH actions can't run this command on OS-X, non-tty issues
     - name: OS-X make all lib
       os: osx
@@ -115,7 +103,8 @@ matrix:
       script:
         - make arminstall
         - make aarch64fuzz
-    
+
+    # To be removed once confirmed transferred to GA
     - name: Versions Compatibility Test   # 11.5mn
       script:
         - make -C tests versionsTest