aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorterminaldweller <devi@terminaldweller.com>2023-04-09 08:00:52 +0000
committerterminaldweller <devi@terminaldweller.com>2023-04-09 08:00:52 +0000
commite92f4f61d2bdf8a148796d238d6ba35050c8a133 (patch)
treeed29638f40e233822c96615241e5f7bcc9e3b2d0
parenttest build for llvm/clang 16 [ci skip] (diff)
downloadcgrep-e92f4f61d2bdf8a148796d238d6ba35050c8a133.tar.gz
cgrep-e92f4f61d2bdf8a148796d238d6ba35050c8a133.zip
llvm17 support test for travis
-rw-r--r--.travis.yml15
1 files changed, 15 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 1ac5517..24b9f3b 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -166,3 +166,18 @@ matrix:
- git submodule update
script:
- mkdir build && cd build && cmake ../ -DLLVM_CONF=llvm-config-16 -DCMAKE_CXX_COMPILER=clang++-16 -DUSE_MONOLITH_LIBTOOLING=OFF -DLLVM_PACKAGE_VERSION=16.0.0 && make
+ - dist: focal
+ name: llvm17
+ sudo: required
+ language: cpp
+ before_script:
+ - sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
+ - sudo apt-get update -y
+ - wget https://apt.llvm.org/llvm.sh
+ - chmod +x llvm.sh
+ - sudo ./llvm.sh 17
+ - sudo apt-get install -y clang-17 llvm-17-dev libclang-common-17-dev libclang-17-dev
+ - git submodule init
+ - git submodule update
+ script:
+ - mkdir build && cd build && cmake ../ -DLLVM_CONF=llvm-config-17 -DCMAKE_CXX_COMPILER=clang++-17 -DUSE_MONOLITH_LIBTOOLING=OFF -DLLVM_PACKAGE_VERSION=17.0.0 && make