Skip to content

Commit 686a897

Browse files
committed
Try env var
1 parent ec141db commit 686a897

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

.github/workflows/ci.yaml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ jobs:
3737

3838
- name: Install PyGobject and release script dependencies on Ubuntu
3939
if: matrix.platform == 'ubuntu-latest'
40+
shell: bash
4041
run: |
4142
sudo apt update
4243
sudo apt install --yes --no-install-recommends \
@@ -46,11 +47,15 @@ jobs:
4647
python3-gst-1.0 \
4748
libcairo2-dev \
4849
libgirepository-2.0-dev \
49-
libopenblas-dev \
50-
llvm-20-dev \
5150
pandoc \
5251
imagemagick
5352
53+
if [[ "${{ matrix.python-version }}" == '3.14' ]]; then
54+
sudo apt install --yes --no-install-recommends libopenblas-dev llvm-20-dev clang-20
55+
sudo update-alternatives --install /usr/bin/llvm-config llvm-config /usr/bin/llvm-config-20 200
56+
sudo update-alternatives --set llvm-config /usr/bin/llvm-config-20
57+
fi
58+
5459
- name: Get changed lyrics files
5560
id: lyrics-update
5661
uses: tj-actions/changed-files@v46
@@ -68,6 +73,11 @@ jobs:
6873
- if: ${{ env.IS_MAIN_PYTHON != 'true' }}
6974
name: Test without coverage
7075
run: |
76+
if ([[ "${{ matrix.python-version }}" == '3.14' ]]); then
77+
export CC=clang-20
78+
export CXX=clang++-20
79+
fi
80+
7181
poetry install --without=lint --extras=autobpm --extras=lyrics --extras=replaygain --extras=reflink --extras=fetchart --extras=chroma --extras=sonosupdate
7282
poe test
7383

0 commit comments

Comments
 (0)