# Faster tests: mostly build tests, along with some other
# misc tests
-concurrency:
+concurrency:
group: fast-${{ github.ref }}
cancel-in-progress: true
sudo apt-get -qqq update
make libc6install
CFLAGS="-Werror -m32" make -j all32
-
+
gcc-8-make:
runs-on: ubuntu-latest
steps:
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:
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
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
script:
- make arminstall
- make aarch64fuzz
-
+
+ # To be removed once confirmed transferred to GA
- name: Versions Compatibility Test # 11.5mn
script:
- make -C tests versionsTest