Skip to content

Commit 28533fb

Browse files
committed
Try env var
1 parent 31217e4 commit 28533fb

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

.github/workflows/ci.yaml

Lines changed: 11 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.13' ]] || [[ "${{ matrix.python-version }}" == '3.14' ]]); then
53+
sudo apt install --yes --no-install-recommends libopenblas-dev llvm-20-dev
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
@@ -68,6 +72,11 @@ jobs:
6872
- if: ${{ env.IS_MAIN_PYTHON != 'true' }}
6973
name: Test without coverage
7074
run: |
75+
if ([[ "${{ matrix.python-version }}" == '3.13' ]] || [[ "${{ matrix.python-version }}" == '3.14' ]]); then
76+
export CC=clang-20
77+
export CXX=clang++-20
78+
fi
79+
7180
poetry install --without=lint --extras=autobpm --extras=lyrics --extras=replaygain --extras=reflink --extras=fetchart --extras=chroma --extras=sonosupdate
7281
poe test
7382

0 commit comments

Comments
 (0)