From 3d8a89bad9ccc48e7877fa1c4219a1064666b7c9 Mon Sep 17 00:00:00 2001 From: terminaldweller Date: Wed, 14 Jul 2021 09:31:33 +0430 Subject: added llvm 12 and 13 to travis. added some dockerfiles i used for building/testing against different llvm versions. --- .travis.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml index 6dbe14f..16d0da9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -152,3 +152,33 @@ matrix: - make CXX=clang-11 LLVM_CONF=llvm-config-11 after_success: bash run.sh + - dist: bionic + name: llvm12 + 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 12 + - sudo apt-get install -y clang-12 llvm-12-dev libclang-common-12-dev libclang-12-dev + - git submodule init + - git submodule update + script: + - mkdir build && cd build && cmake ../ -DLLVM_CONF=llvm-config-12 -DCMAKE_CXX_COMPILER=clang++-12 -DUSE_MONOLITH_LIBTOOLING=OFF&& make -j2 + - dist: bionic + name: llvm13 + 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 13 + - sudo apt-get install -y clang-13 llvm-13-dev libclang-common-13-dev libclang-13-dev + - git submodule init + - git submodule update + script: + - mkdir build && cd build && cmake ../ -DLLVM_CONF=llvm-config-13 -DCMAKE_CXX_COMPILER=clang++-13 -DUSE_MONOLITH_LIBTOOLING=OFF&& make -j2 -- cgit v1.2.3