diff mbox series

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

Message ID 1499860815-9962-4-git-send-email-odpbot@yandex.ru
State Superseded
Headers show
Series [v1,1/3] example: ipfragaddress: fix compilation with clang | expand

Commit Message

Github ODP bot July 12, 2017, noon UTC
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: 7fc6d27e937b57b31360b07028388c811f8300dc
 ** Merge commit sha: a4eb9d1fce06d324ea13633a5df60a00640673c8
 **/
 .travis.yml | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)
diff mbox series

Patch

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: