mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Compatibility with both LLVM 10 and 11
This commit is contained in:
committed by
Christoffer Lerno
parent
3c15e495dd
commit
f2c394dc96
5
.github/workflows/main.yml
vendored
5
.github/workflows/main.yml
vendored
@@ -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 .
|
||||
|
||||
Reference in New Issue
Block a user