File tree Expand file tree Collapse file tree 1 file changed +0
-16
lines changed Expand file tree Collapse file tree 1 file changed +0
-16
lines changed Original file line number Diff line number Diff line change 34
34
apt-get update
35
35
apt-get install -y lcov libcurl4-openssl-dev libmariadb-dev libmariadb-dev-compat python3 python3-pip python3-venv \
36
36
gcovr bc pipx clang-17 libclang-17-dev
37
- pip install clang
38
-
39
- echo "Setting up Clang library path..."
40
- export LIBCLANG_PATH=$(find /usr/lib/llvm-17/lib -name "libclang-17.so" -print -quit)
41
- if [ -z "$LIBCLANG_PATH" ]; then
42
- echo "libclang-17.so not found!"
43
- exit 1
44
- fi
45
- echo "libclang-17.so found at $LIBCLANG_PATH"
46
-
47
- echo "Configuring mcdc-checker to use libclang-17.so..."
48
- python3 -c "
49
- import clang.cindex as cindex
50
- cindex.Config.set_library_file('$LIBCLANG_PATH')
51
- print('Clang library path configured : ' , cindex.Config.library_path)
52
- "
53
37
pipx install --system-site-packages mcdc-checker
54
38
55
39
- name : Build with Coverage Flags
You can’t perform that action at this time.
0 commit comments