@@ -33,29 +33,29 @@ jobs:
33
33
apt-get update
34
34
apt-get install -y \
35
35
lcov libcurl4-openssl-dev libmariadb-dev libmariadb-dev-compat \
36
- python3 python3-pip python3-venv gcovr bc pipx wget \
36
+ python3 python3-pip python3-venv gcov gcovr bc pipx wget \
37
37
software-properties-common
38
- # Add the official LLVM repository and install Clang 19
39
- wget https://apt.llvm.org/llvm.sh
40
- chmod +x llvm.sh
41
- ./llvm.sh 19
42
- apt-get install -y clang-19 libclang-19-dev python3-clang-19
43
- apt-get remove -y libclang-14-dev libclang-common-14-dev libclang1-14 libllvm14 python3-clang-14
44
- # Ensure Clang 19 is the default
45
- update-alternatives --install /usr/bin/clang clang /usr/lib/llvm-19/bin/clang 100
46
- update-alternatives --install /usr/bin/clang++ clang++ /usr/lib/llvm-19/bin/clang++ 100
47
- pipx install --system-site-packages mcdc-checker
48
- pipx ensurepath
49
- - name : Verify Clang Installation
50
- run : |
51
- echo "Checking clang binary..."
52
- which clang || { echo "clang not found in PATH"; exit 1; }
53
- echo "clang version:"
54
- clang --version
55
- - name : Verify Clang Python Bindings
56
- run : |
57
- echo "Testing Clang Python bindings..."
58
- python3 -c "import clang.cindex; print('Clang bindings are working')"
38
+ # # Add the official LLVM repository and install Clang 19
39
+ # wget https://apt.llvm.org/llvm.sh
40
+ # chmod +x llvm.sh
41
+ # ./llvm.sh 19
42
+ # apt-get install -y clang-19 libclang-19-dev python3-clang-19
43
+ # apt-get remove -y libclang-14-dev libclang-common-14-dev libclang1-14 libllvm14 python3-clang-14
44
+ # # Ensure Clang 19 is the default
45
+ # update-alternatives --install /usr/bin/clang clang /usr/lib/llvm-19/bin/clang 100
46
+ # update-alternatives --install /usr/bin/clang++ clang++ /usr/lib/llvm-19/bin/clang++ 100
47
+ # pipx install --system-site-packages mcdc-checker
48
+ # pipx ensurepath
49
+ # - name: Verify Clang Installation
50
+ # run: |
51
+ # echo "Checking clang binary..."
52
+ # which clang || { echo "clang not found in PATH"; exit 1; }
53
+ # echo "clang version:"
54
+ # clang --version
55
+ # - name: Verify Clang Python Bindings
56
+ # run: |
57
+ # echo "Testing Clang Python bindings..."
58
+ # python3 -c "import clang.cindex; print('Clang bindings are working')"
59
59
- name : Build with Coverage Flags
60
60
run : |
61
61
export CFLAGS="-fprofile-arcs -ftest-coverage -fcondition-coverage -g"
0 commit comments