File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -138,10 +138,12 @@ jobs:
138138 - true
139139 - false
140140 include :
141+ # https://apt.llvm.org/llvm.sh doesn't support LLVM 19
142+ # on Ubuntu 26.04, so stick to Ubuntu 24.04 until LLVM is upgraded.
141143 - target : x86_64-unknown-linux-gnu/gcc
142- runner : ubuntu-26 .04
144+ runner : ubuntu-24 .04
143145 - target : aarch64-unknown-linux-gnu/gcc
144- runner : ubuntu-26 .04-arm
146+ runner : ubuntu-24 .04-arm
145147 steps :
146148 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
147149 with :
@@ -151,7 +153,8 @@ jobs:
151153 python-version : ' 3.11'
152154 - name : Build
153155 run : |
154- # On ubuntu-26.04 image, clang is clang-21 by default
156+ sudo bash -c "$(wget -O - https://apt.llvm.org/llvm.sh)" ./llvm.sh ${{ env.LLVM_VERSION }}
157+ export PATH="$(llvm-config-${{ env.LLVM_VERSION }} --bindir):$PATH"
155158 ./configure --enable-experimental-jit ${{ matrix.debug && '--with-pydebug' || '' }}
156159 make all --jobs 4
157160 - name : Test
You can’t perform that action at this time.
0 commit comments