[v3,3/3] travis: add clang cross-compilation checks

Message ID 1500375612-10544-4-git-send-email-odpbot@yandex.ru
State New
Headers show
Series
  • [v3,1/3] example: ipfragaddress: fix compilation with clang
Related show

Commit Message

Github ODP bot July 18, 2017, 11 a.m.
From: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org>


Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org>

---
/** Email created from pull request 73 (lumag:cross-2)
 ** https://github.com/Linaro/odp/pull/73
 ** Patch: https://github.com/Linaro/odp/pull/73.patch
 ** Base sha: 490f4bf22129638899ce71c99a8847e8ba849692
 ** Merge commit sha: 9f16bf8e8db817327b01f090ff2d1e656093abfc
 **/
 .travis.yml | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

Patch hide | download patch | download mbox

diff --git a/.travis.yml b/.travis.yml
index 36728afc..e2c65a65 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -155,6 +155,15 @@  jobs:
                             --disable-test-cpp --enable-test-vald --enable-test-helper --enable-test-perf --enable-test-perf-proc --enable-test-example
                           - make -j $(nproc)
                 - stage: test
+                  compiler: "\"clang-3.8 --target=aarch64-linux-gnu\""
+                  env: TEST="clang-3.8 aarch64-linux-gnu" CROSS_ARCH="arm64"
+                  install: true
+                  script:
+                          - ./bootstrap
+                          - ./configure --prefix=$HOME/odp-install $CROSS
+                            --disable-test-cpp --enable-test-vald --enable-test-helper --enable-test-perf --enable-test-perf-proc --enable-test-example
+                          - make -j $(nproc)
+                - stage: test
                   compiler: arm-linux-gnueabihf-gcc
                   env: TEST="arm-linux-gnueabihf" CROSS_ARCH="armhf"
                   install: true
@@ -164,6 +173,15 @@  jobs:
                             --disable-test-cpp --enable-test-vald --enable-test-helper --enable-test-perf --enable-test-perf-proc --enable-test-example
                           - make -j $(nproc)
                 - stage: test
+                  compiler: "\"clang-3.8 --target=arm-linux-gnueabihf\""
+                  env: TEST="clang-3.8 arm-linux-gnueabihf" CROSS_ARCH="armhf" CFLAGS="-march=armv7-a"
+                  install: true
+                  script:
+                          - ./bootstrap
+                          - ./configure --prefix=$HOME/odp-install $CROSS
+                            --disable-test-cpp --enable-test-vald --enable-test-helper --enable-test-perf --enable-test-perf-proc --enable-test-example
+                          - make -j $(nproc)
+                - stage: test
                   compiler: powerpc-linux-gnu-gcc
                   env: TEST="powerpc-linux-gnueabihf" CROSS_ARCH="powerpc"
                   install: true
@@ -173,6 +191,15 @@  jobs:
                             --disable-test-cpp --enable-test-vald --enable-test-helper --enable-test-perf --enable-test-perf-proc --enable-test-example
                           - make -j $(nproc)
                 - stage: test
+                  compiler: "\"clang-3.8 --target=powerpc-linux-gnu\""
+                  env: TEST="clang-3.8 powerpc-linux-gnu" CROSS_ARCH="powerpc"
+                  install: true
+                  script:
+                          - ./bootstrap
+                          - ./configure --prefix=$HOME/odp-install $CROSS
+                            --disable-test-cpp --enable-test-vald --enable-test-helper --enable-test-perf --enable-test-perf-proc --enable-test-example
+                          - make -j $(nproc)
+                - stage: test
                   env: TEST=coverage
                   compiler: gcc
                   script: