"Fossies" - the Fresh Open Source Software Archive

Member "xxHash-0.8.0/.travis.yml" (27 Jul 2020, 4851 Bytes) of package /linux/misc/xxHash-0.8.0.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Ansible YAML source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for ".travis.yml": 0.7.4_vs_0.8.0.

    1 language: c
    2 
    3 # Dump CPU info before start
    4 before_install:
    5   - cat /proc/cpuinfo
    6 
    7 matrix:
    8   fast_finish: true
    9   include:
   10 
   11     - name: General linux tests (Xenial)
   12       dist: xenial
   13       arch: amd64
   14       addons:
   15         apt:
   16           packages:
   17             - clang
   18             - g++-multilib
   19             - gcc-multilib
   20             - cppcheck
   21       script:
   22         - make -B test-all
   23         - make clean
   24         - make dispatch
   25         - make clean
   26         - CC=g++ CFLAGS="-O1 -mavx512f" make
   27         - make clean
   28         - CC=g++ CFLAGS="-Wall -Wextra" make DISPATCH=1
   29 
   30 
   31     - name: Check results consistency on x64
   32       arch: amd64
   33       script:
   34         - CPPFLAGS=-DXXH_VECTOR=XXH_SCALAR make check   # Scalar code path
   35         - make clean
   36         - CPPFLAGS=-DXXH_VECTOR=XXH_SSE2 make check   # SSE2 code path
   37         - make clean
   38         - CPPFLAGS="-mavx2 -DXXH_VECTOR=XXH_AVX2" make check   # AVX2 code path
   39         - make clean
   40         - CPPFLAGS="-mavx512f -DXXH_VECTOR=XXH_AVX512" make check   # AVX512 code path
   41         - make clean
   42         - CPPFLAGS=-DXXH_REROLL=1 make check   # reroll code path (#240)
   43         - make -C tests/bench
   44 
   45     - name: ARM compilation and consistency checks (Qemu)
   46       dist: xenial
   47       arch: amd64
   48       addons:
   49         apt:
   50           packages:
   51             - qemu-system-arm
   52             - qemu-user-static
   53             - gcc-arm-linux-gnueabi
   54             - libc6-dev-armel-cross
   55       script:
   56         # arm (32-bit)
   57         - CC=arm-linux-gnueabi-gcc CPPFLAGS=-DXXH_VECTOR=XXH_SCALAR LDFLAGS=-static RUN_ENV=qemu-arm-static make check   # Scalar code path
   58         - make clean
   59         # NEON (32-bit)
   60         - CC=arm-linux-gnueabi-gcc CPPFLAGS=-DXXH_VECTOR=XXH_NEON CFLAGS="-O3 -march=armv7-a -fPIC -mfloat-abi=softfp -mfpu=neon-vfpv4" LDFLAGS=-static RUN_ENV=qemu-arm-static make check   # NEON code path
   61 
   62     - name: aarch64 compilation and consistency checks
   63       dist: xenial
   64       arch: arm64
   65       script:
   66         # aarch64
   67         - CPPFLAGS=-DXXH_VECTOR=XXH_SCALAR make check   # Scalar code path
   68         # NEON (64-bit)
   69         - make clean
   70         - CPPFLAGS=-DXXH_VECTOR=XXH_NEON make check   # NEON code path
   71         # clang
   72         - make clean
   73         - CC=clang CPPFLAGS=-DXXH_VECTOR=XXH_SCALAR make check   # Scalar code path
   74         # clang + NEON
   75         - make clean
   76         - CC=clang CPPFLAGS=-DXXH_VECTOR=XXH_NEON make check   # NEON code path
   77 
   78     # We need Bionic here because the QEMU versions shipped in the older repos
   79     # do not support POWER8 emulation, and compiling QEMU from source is a pain.
   80     - name: PowerPC + PPC64 compilation and consistency checks (Qemu on Bionic)
   81       dist: bionic
   82       arch: amd64
   83       addons:
   84         apt:
   85           packages:
   86             - qemu-system-ppc
   87             - qemu-user-static
   88             - gcc-powerpc-linux-gnu
   89             - gcc-powerpc64-linux-gnu
   90             - libc6-dev-powerpc-cross
   91             - libc6-dev-ppc64-cross
   92       script:
   93         - CC=powerpc-linux-gnu-gcc RUN_ENV=qemu-ppc-static LDFLAGS=-static make check   # Scalar code path
   94         - make clean
   95         - CC=powerpc64-linux-gnu-gcc RUN_ENV=qemu-ppc64-static CPPFLAGS=-DXXH_VECTOR=XXH_SCALAR CFLAGS="-O3" LDFLAGS="-static -m64" make check   # Scalar code path
   96         # VSX code
   97         - make clean
   98         - CC=powerpc64-linux-gnu-gcc RUN_ENV="qemu-ppc64-static -cpu power8" CPPFLAGS=-DXXH_VECTOR=XXH_VSX CFLAGS="-O3 -maltivec -mvsx -mcpu=power8 -mpower8-vector" LDFLAGS="-static -m64" make check   # VSX code path
   99         # altivec.h redefinition issue #426
  100         - make clean
  101         - CC=powerpc64-linux-gnu-gcc CPPFLAGS=-DXXH_VECTOR=XXH_VSX CFLAGS="-maltivec -mvsx -mcpu=power8 -mpower8-vector" make -C tests test_ppc_redefine
  102 
  103     - name: PPC64LE compilation and consistency checks
  104       dist: xenial
  105       arch: ppc64le
  106       script:
  107         # Scalar (universal) code path
  108         - CPPFLAGS=-DXXH_VECTOR=XXH_SCALAR LDFLAGS=-static make check
  109         # VSX code path (64-bit)
  110         - make clean
  111         - CPPFLAGS=-DXXH_VECTOR=XXH_VSX CFLAGS="-O3 -maltivec -mvsx -mpower8-vector -mcpu=power8" LDFLAGS="-static" make check
  112         # altivec.h redefinition issue #426
  113         - make clean
  114         - CPPFLAGS=-DXXH_VECTOR=XXH_VSX CFLAGS="-maltivec -mvsx -mcpu=power8 -mpower8-vector" make -C tests test_ppc_redefine 
  115 
  116     - name: IBM s390x compilation and consistency checks
  117       dist: bionic
  118       arch: s390x
  119       script:
  120         # Scalar (universal) code path
  121         - CPPFLAGS=-DXXH_VECTOR=XXH_SCALAR LDFLAGS=-static make check
  122         # s390x code path (64-bit)
  123         - make clean
  124         - CPPFLAGS=-DXXH_VECTOR=XXH_VSX CFLAGS="-O3 -march=arch11 -mzvector" LDFLAGS="-static" make check
  125 
  126     - name: cmake build test
  127       script:
  128         - cd cmake_unofficial
  129         - mkdir build
  130         - cd build
  131         - cmake ..
  132         - make