Skip to content

Commit c81873c

Browse files
committed
Use matrix.llvm variable for clang-X version
1 parent 1973909 commit c81873c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/tail-call.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ jobs:
120120
export SDKROOT="$(xcrun --show-sdk-path)"
121121
export PATH="/usr/local/opt/llvm@${{ matrix.llvm }}/bin:$PATH"
122122
export PATH="/opt/homebrew/opt/llvm@${{ matrix.llvm }}/bin:$PATH"
123-
CC=clang-20 ./configure --with-tail-call-interp
123+
CC=clang-${{ matrix.llvm }} ./configure --with-tail-call-interp
124124
make all --jobs 4
125125
./python.exe -m test --multiprocess 0 --timeout 4500 --verbose2 --verbose3
126126
@@ -129,7 +129,7 @@ jobs:
129129
run: |
130130
sudo bash -c "$(wget -O - https://apt.llvm.org/llvm.sh)" ./llvm.sh ${{ matrix.llvm }}
131131
export PATH="$(llvm-config-${{ matrix.llvm }} --bindir):$PATH"
132-
CC=clang-20 ./configure --with-tail-call-interp --with-pydebug
132+
CC=clang-${{ matrix.llvm }} ./configure --with-tail-call-interp --with-pydebug
133133
make all --jobs 4
134134
./python -m test --multiprocess 0 --timeout 4500 --verbose2 --verbose3
135135
@@ -138,6 +138,6 @@ jobs:
138138
run: |
139139
sudo bash -c "$(wget -O - https://apt.llvm.org/llvm.sh)" ./llvm.sh ${{ matrix.llvm }}
140140
export PATH="$(llvm-config-${{ matrix.llvm }} --bindir):$PATH"
141-
CC=clang-20 ./configure --with-tail-call-interp --disable-gil
141+
CC=clang-${{ matrix.llvm }} ./configure --with-tail-call-interp --disable-gil
142142
make all --jobs 4
143143
./python -m test --multiprocess 0 --timeout 4500 --verbose2 --verbose3

0 commit comments

Comments
 (0)