Skip to content

Commit 2e0cc4f

Browse files
committed
👷 Install libclang for python in CI
Problem: - `gen_str_catalog.py` uses `libclang` to parse enumeration data. Solution: - Install `libclang`.
1 parent cbb1333 commit 2e0cc4f

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/unit_tests.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
cxx_flags: "-stdlib=libstdc++"
3939
- version: 19
4040
compiler: clang
41-
install: wget https://apt.llvm.org/llvm.sh && chmod +x llvm.sh && sudo ./llvm.sh 19
41+
install: wget https://apt.llvm.org/llvm.sh && chmod +x llvm.sh && sudo ./llvm.sh 19 all
4242
toolchain_root: "/usr/lib/llvm-19"
4343
- version: 19
4444
compiler: clang
@@ -110,6 +110,13 @@ jobs:
110110
${{ matrix.install }}
111111
sudo apt install -y ninja-build
112112
113+
- name: Install libclang for string catalog
114+
run: |
115+
python3 -m venv ${{github.workspace}}/test_venv
116+
source ${{github.workspace}}/test_venv/bin/activate
117+
pip install libclang
118+
echo "${{github.workspace}}/test_venv/bin" >> $GITHUB_PATH
119+
113120
- name: Restore CPM cache
114121
env:
115122
cache-name: cpm-cache-0

0 commit comments

Comments
 (0)