Skip to content

Commit 1beecf6

Browse files
authored
Add CI tests for LLVM 16 (and later 17) (#150)
Add CI tests for LLVM 16 (and later 17) Using myci-actions/add-deb-repo@11
1 parent 77bb971 commit 1beecf6

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

.github/workflows/run_tests.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,37 @@ jobs:
4242
-DLLVM_DIR=/usr/lib/llvm-${{ matrix.llvm_version }}/cmake \
4343
..
4444
make
45+
llvm_compatibility_latest_llvm:
46+
runs-on: ubuntu-22.04
47+
strategy:
48+
matrix:
49+
llvm_version: [16] # 17]
50+
steps:
51+
- uses: actions/checkout@v3
52+
with:
53+
submodules: true
54+
- name: Add LLVM project deb repository
55+
uses: myci-actions/add-deb-repo@11
56+
with:
57+
repo: deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy-${{ matrix.llvm_version }} main
58+
repo-name: llvm
59+
update: false
60+
keys-asc: https://apt.llvm.org/llvm-snapshot.gpg.key
61+
- name: Install dependencies
62+
run: |
63+
sudo apt-get update
64+
sudo apt-get install -y \
65+
llvm-${{ matrix.llvm_version }}-dev \
66+
libz3-dev \
67+
python2
68+
- name: Build SymCC with the QSYM backend
69+
run: |
70+
mkdir build
71+
cd build
72+
cmake \
73+
-DCMAKE_BUILD_TYPE=Release \
74+
-DZ3_TRUST_SYSTEM_VERSION=ON \
75+
-DQSYM_BACKEND=ON \
76+
-DLLVM_DIR=/usr/lib/llvm-${{ matrix.llvm_version }}/cmake \
77+
..
78+
make

0 commit comments

Comments
 (0)