diff options
author | terminaldweller <thabogre@gmail.com> | 2021-07-14 05:01:33 +0000 |
---|---|---|
committer | terminaldweller <thabogre@gmail.com> | 2021-07-14 05:01:33 +0000 |
commit | 3d8a89bad9ccc48e7877fa1c4219a1064666b7c9 (patch) | |
tree | bb904c6ec6f18876a8e0af0a8c7012c5e7e6deab /.travis.yml | |
parent | addes a macro for ast_type_traits. starting from 12 it had a namespace change (diff) | |
download | cgrep-3d8a89bad9ccc48e7877fa1c4219a1064666b7c9.tar.gz cgrep-3d8a89bad9ccc48e7877fa1c4219a1064666b7c9.zip |
added llvm 12 and 13 to travis. added some dockerfiles i used for building/testing against different llvm versions.
Diffstat (limited to '')
-rw-r--r-- | .travis.yml | 30 |
1 files changed, 30 insertions, 0 deletions
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
|