summaryrefslogtreecommitdiffstats
path: root/src/isa-l/.travis.yml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 18:45:59 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 18:45:59 +0000
commit19fcec84d8d7d21e796c7624e521b60d28ee21ed (patch)
tree42d26aa27d1e3f7c0b8bd3fd14e7d7082f5008dc /src/isa-l/.travis.yml
parentInitial commit. (diff)
downloadceph-19fcec84d8d7d21e796c7624e521b60d28ee21ed.tar.xz
ceph-19fcec84d8d7d21e796c7624e521b60d28ee21ed.zip
Adding upstream version 16.2.11+ds.upstream/16.2.11+dsupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/isa-l/.travis.yml')
-rw-r--r--src/isa-l/.travis.yml100
1 files changed, 100 insertions, 0 deletions
diff --git a/src/isa-l/.travis.yml b/src/isa-l/.travis.yml
new file mode 100644
index 000000000..9bf236c08
--- /dev/null
+++ b/src/isa-l/.travis.yml
@@ -0,0 +1,100 @@
+language: c
+sudo: required
+matrix:
+ include:
+ ### OS X
+ - os: osx
+ env: C_COMPILER=clang
+
+ ### linux gcc and format check
+ - dist: xenial
+ addons:
+ apt:
+ packages:
+ - nasm
+ install:
+ # Install newer indent to check formatting
+ - sudo apt-get install texinfo
+ - wget http://archive.ubuntu.com/ubuntu/pool/main/i/indent/indent_2.2.12.orig.tar.xz -O /tmp/indent.tar.xz
+ - tar -xJf /tmp/indent.tar.xz -C /tmp/
+ - pushd /tmp/indent-2.2.12 && ./configure --prefix=/usr && make && sudo make install && popd
+ env: C_COMPILER=gcc
+
+ ### linux clang
+ - dist: xenial
+ addons:
+ apt:
+ packages:
+ - nasm
+ env: C_COMPILER=clang
+
+ ### linux newer clang
+ - dist: trusty
+ addons:
+ apt:
+ sources:
+ - ubuntu-toolchain-r-test
+ - llvm-toolchain-trusty-4.0
+ packages:
+ - clang-4.0
+ env: C_COMPILER=clang-4.0
+
+ ### linux older gcc
+ - dist: trusty
+ addons:
+ apt:
+ sources:
+ - ubuntu-toolchain-r-test
+ packages:
+ - g++-4.7
+ env: C_COMPILER=gcc-4.7
+
+ ### linux newer gcc
+ - dist: trusty
+ addons:
+ apt:
+ sources:
+ - ubuntu-toolchain-r-test
+ packages:
+ - g++-6
+ env: C_COMPILER=gcc-6
+
+ ### arm64: gcc-5.4
+ - os: linux
+ dist: xenial
+ arch: arm64
+ env: C_COMPILER=gcc
+
+ ### arm64: gcc-5.4 extended tests
+ - os: linux
+ dist: xenial
+ arch: arm64
+ env: TEST_TYPE=ext
+
+ ### linux extended tests
+ - dist: xenial
+ addons:
+ apt:
+ sources:
+ - ubuntu-toolchain-r-test
+ packages:
+ - binutils-mingw-w64-x86-64
+ - gcc-mingw-w64-x86-64
+ - wine
+ - nasm
+ env: TEST_TYPE=ext
+
+before_install:
+ - if [ -n "${C_COMPILER}" ]; then export CC="${C_COMPILER}"; fi
+ - if [ -n "${AS_ASSEMBL}" ]; then export AS="${AS_ASSEMBL}"; fi
+
+before_script:
+ - if [ $TRAVIS_OS_NAME = linux ]; then sudo apt-get -q update; fi
+ - if [ $TRAVIS_OS_NAME = linux ]; then sudo apt-get install yasm; fi
+ - if [ $TRAVIS_OS_NAME = osx ]; then brew update; fi
+ - if [ $TRAVIS_OS_NAME = osx ]; then brew install yasm; fi
+
+script:
+ - if [ -n "${CC}" ]; then $CC --version; fi
+ - if [ -n "${AS}" ]; then $AS --version || echo No version; fi
+ - ./tools/test_autorun.sh "${TEST_TYPE}"