From 54cc01c5be9fa9857454cda737980b1376c33797 Mon Sep 17 00:00:00 2001 From: Yann Collet Date: Fri, 18 Dec 2020 11:01:22 -0800 Subject: [PATCH] removed tests duplicated between TravisCI and Github Actions reduce load on TravisCI --- .github/workflows/generic-dev.yml | 10 +++- .travis.yml | 78 ------------------------------- 2 files changed, 9 insertions(+), 79 deletions(-) diff --git a/.github/workflows/generic-dev.yml b/.github/workflows/generic-dev.yml index 9abe98b7..8882fcc0 100644 --- a/.github/workflows/generic-dev.yml +++ b/.github/workflows/generic-dev.yml @@ -58,6 +58,10 @@ jobs: LDFLAGS=-Wl,--no-undefined make -C lib libzstd-mt make -C tests zbufftest-dll + # candidate test (to check) : underlink test + # LDFLAGS=-Wl,--no-undefined : will make the linker fail if dll is underlinked + # zbufftest-dll : test that a user program can link to multi-threaded libzstd without specifying -pthread + gcc-8-asan-ubsan-testzstd: runs-on: ubuntu-16.04 # fails on 18.04 steps: @@ -92,6 +96,10 @@ jobs: sudo apt-get install clang-3.8 CC=clang-3.8 make clean msan-test-zstd HAVE_ZLIB=0 HAVE_LZ4=0 HAVE_LZMA=0 + # Note : external libraries must be turned off when using MSAN tests, + # because they are not msan-instrumented, + # so any data coming from these libraries is always considered "uninitialized" + cmake-build-and-test-check: runs-on: ubuntu-latest steps: @@ -155,7 +163,7 @@ jobs: make clean make c99build make clean - make travis-install + make travis-install # just ensures `make install` works mingw-cross-compilation: runs-on: ubuntu-latest diff --git a/.travis.yml b/.travis.yml index ee473733..fd4b29e3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -32,49 +32,11 @@ matrix: script: - make check - - name: make benchmarking - script: - - make benchmarking - - name: make test (complete) script: # DEVNULLRIGHTS : will request sudo rights to test permissions on /dev/null - DEVNULLRIGHTS=test make test - - name: gcc-6 + gcc-7 + libzstdmt compilation # ~ 6mn - script: - - make gcc6install gcc7install - - CC=gcc-6 CFLAGS=-Werror make -j all - - make clean - - CC=gcc-7 CFLAGS=-Werror make -j all - - make clean - - LDFLAGS=-Wl,--no-undefined make -C lib libzstd-mt - - make -C tests zbufftest-dll - # LDFLAGS=-Wl,--no-undefined : will make the linker fail if dll is underlinked - # zbufftest-dll : test that a user program can link to multi-threaded libzstd without specifying -pthread - - - name: gcc-8 + ASan + UBSan + Test Zstd # ~6.5mn - script: - - make gcc8install - - CC=gcc-8 CFLAGS="-Werror" make -j all - - make clean - - CC=gcc-8 make -j uasan-test-zstd