travis: Add LLVM 9 build
authorJan Vesely <jan.vesely@rutgers.edu>
Fri, 27 Sep 2019 05:58:15 +0000 (05:58 +0000)
committerJan Vesely <jan.vesely@rutgers.edu>
Fri, 27 Sep 2019 05:58:15 +0000 (05:58 +0000)
Reviewer: tstellar
Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
llvm-svn: 373047

libclc/.travis.yml

index 37c019f..e8a41d9 100644 (file)
@@ -77,6 +77,23 @@ matrix:
             - llvm-8-dev
             - clang-8
     - env:
+        - LABEL="make gcc LLVM-9"
+        - LLVM_VERSION=9
+        - CHECK_FILES="barts-r600--.bc cayman-r600--.bc cedar-r600--.bc cypress-r600--.bc tahiti-amdgcn--.bc amdgcn--amdhsa.bc tahiti-amdgcn-mesa-mesa3d.bc nvptx--nvidiacl.bc nvptx64--nvidiacl.bc"
+        - MATRIX_EVAL="CC=gcc-6 && CXX=g++-6"
+      addons:
+        apt:
+          sources:
+            - sourceline: 'deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-9 main'
+              key_url: https://apt.llvm.org/llvm-snapshot.gpg.key
+            - ubuntu-toolchain-r-test
+          packages:
+            - libedit-dev
+            - g++-6
+            # From sources above
+            - llvm-9-dev
+            - clang-9
+    - env:
         - LABEL="cmake gcc LLVM-3.9"
         - LLVM_VERSION=3.9
         - CHECK_FILES="barts-r600--.bc cayman-r600--.bc cedar-r600--.bc cypress-r600--.bc tahiti-amdgcn--.bc amdgcn--amdhsa.bc nvptx--nvidiacl.bc nvptx64--nvidiacl.bc"
@@ -148,6 +165,23 @@ matrix:
             # From sources above
             - llvm-8-dev
             - clang-8
+    - env:
+        - LABEL="cmake gcc LLVM-9"
+        - LLVM_VERSION=9
+        - CHECK_FILES="barts-r600--.bc cayman-r600--.bc cedar-r600--.bc cypress-r600--.bc tahiti-amdgcn--.bc amdgcn--amdhsa.bc tahiti-amdgcn-mesa-mesa3d.bc nvptx--nvidiacl.bc nvptx64--nvidiacl.bc"
+        - MATRIX_EVAL="CC=gcc-6 && CXX=g++-6"
+      addons:
+        apt:
+          sources:
+            - sourceline: 'deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-9 main'
+              key_url: https://apt.llvm.org/llvm-snapshot.gpg.key
+            - ubuntu-toolchain-r-test
+          packages:
+            - libedit-dev
+            - g++-6
+            # From sources above
+            - llvm-9-dev
+            - clang-9
 
 before_install:
     - eval "${MATRIX_EVAL}"