File tree Expand file tree Collapse file tree 1 file changed +15
-5
lines changed Expand file tree Collapse file tree 1 file changed +15
-5
lines changed Original file line number Diff line number Diff line change @@ -19,13 +19,20 @@ jobs:
1919 include :
2020 - os : ubuntu-24.04
2121 ccache-variant : sccache
22- c_compiler : clang-20
23- cpp_compiler : clang++-20
22+ c_compiler : clang-21
23+ cpp_compiler : clang++-21
24+ target : x86_64-unknown-linux-llvm
2425 # TODO: remove ccache logic when https://github.com/hendrikmuhs/ccache-action/issues/279 is resolved.
2526 - os : ubuntu-24.04-arm
2627 ccache-variant : ccache
27- c_compiler : clang-20
28- cpp_compiler : clang++-20
28+ c_compiler : clang-21
29+ cpp_compiler : clang++-21
30+ target : aarch64-unknown-linux-llvm
31+ - os : ubuntu-24.04
32+ ccache-variant : ccache
33+ c_compiler : clang-21
34+ cpp_compiler : clang++-21
35+ target : x86_64-unknown-uefi-llvm
2936 # TODO: add back gcc build when it is fixed
3037 # - c_compiler: gcc
3138 # cpp_compiler: g++
5360 run : |
5461 wget https://apt.llvm.org/llvm.sh
5562 chmod +x llvm.sh
56- sudo ./llvm.sh 20
63+ sudo ./llvm.sh 21
5764 sudo apt-get update
5865 sudo apt-get install -y libmpfr-dev libgmp-dev libmpc-dev ninja-build linux-libc-dev
5966 sudo ln -sf /usr/include/$(uname -p)-linux-gnu/asm /usr/include/asm
7683 -DCMAKE_C_COMPILER_LAUNCHER=${{ matrix.ccache-variant }}
7784 -DCMAKE_CXX_COMPILER_LAUNCHER=${{ matrix.ccache-variant }}
7885 -DCMAKE_INSTALL_PREFIX=${{ steps.strings.outputs.build-install-dir }}
86+ -DLLVM_RUNTIMES_TARGET=${{ matrix.target }}
7987 -DLLVM_ENABLE_RUNTIMES="libc;compiler-rt"
8088 -DLLVM_LIBC_FULL_BUILD=ON
8189 -DLLVM_LIBC_INCLUDE_SCUDO=ON
93101 --target install
94102
95103 - name : Test
104+ # Skip UEFI tests until we have testing set up.
105+ if : ${{ ! endsWith(matrix.target, '-uefi-llvm') }}
96106 run : >
97107 cmake
98108 --build ${{ steps.strings.outputs.build-output-dir }}
You can’t perform that action at this time.
0 commit comments