Skip to content

Commit e6aa791

Browse files
committed
Try env var
1 parent ec141db commit e6aa791

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

.github/workflows/ci.yaml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,15 @@ jobs:
4646
python3-gst-1.0 \
4747
libcairo2-dev \
4848
libgirepository-2.0-dev \
49-
libopenblas-dev \
50-
llvm-20-dev \
5149
pandoc \
5250
imagemagick
5351
52+
if [[ "${{ matrix.python-version }}" == '3.14' ]]; then
53+
sudo apt install --yes --no-install-recommends libopenblas-dev llvm-20-dev clang-20
54+
sudo update-alternatives --install /usr/bin/llvm-config llvm-config /usr/bin/llvm-config-20 200
55+
sudo update-alternatives --set llvm-config /usr/bin/llvm-config-20
56+
fi
57+
5458
- name: Get changed lyrics files
5559
id: lyrics-update
5660
uses: tj-actions/changed-files@v46
@@ -67,7 +71,14 @@ jobs:
6771

6872
- if: ${{ env.IS_MAIN_PYTHON != 'true' }}
6973
name: Test without coverage
74+
shell: bash
7075
run: |
76+
if [[ "${{ matrix.python-version }}" == '3.14' ]]; then
77+
export CC=clang-20
78+
export CXX=clang++-20
79+
export LLVM_DIR=/usr/lib/llvm-20/lib/cmake/llvm
80+
fi
81+
7182
poetry install --without=lint --extras=autobpm --extras=lyrics --extras=replaygain --extras=reflink --extras=fetchart --extras=chroma --extras=sonosupdate
7283
poe test
7384

0 commit comments

Comments
 (0)