Compatibility with both LLVM 10 and 11

This commit is contained in:
Christoffer Lerno
2020-11-23 16:04:12 +01:00
committed by Christoffer Lerno
parent 3c15e495dd
commit f2c394dc96
4 changed files with 12 additions and 7 deletions

View File

@@ -12,9 +12,10 @@ jobs:
steps:
- uses: actions/checkout@v1
- name: (Linux) Download LLVM
run: sudo apt-get install llvm-9 llvm-9-dev
run: |
sudo apt-get install llvm-10
- name: Build
run: |
mkdir build && cd build
cmake -DLLVM_DIR=/usr/lib/llvm-9/cmake -DCMAKE_BUILD_TYPE=Debug ..
cmake -DLLVM_DIR=/usr/lib/llvm-10/cmake -DCMAKE_BUILD_TYPE=Debug ..
cmake --build .