File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -21,11 +21,18 @@ jobs:
21
21
ccache-variant : sccache
22
22
c_compiler : clang-20
23
23
cpp_compiler : clang++-20
24
+ target : x86_64-unknown-linux-llvm
24
25
# TODO: remove ccache logic when https://github.com/hendrikmuhs/ccache-action/issues/279 is resolved.
25
26
- os : ubuntu-24.04-arm
26
27
ccache-variant : ccache
27
28
c_compiler : clang-20
28
29
cpp_compiler : clang++-20
30
+ target : aarch64-unknown-linux-llvm
31
+ - os : ubuntu-24.04
32
+ ccache-variant : ccache
33
+ c_compiler : clang
34
+ cpp_compiler : clang++
35
+ target : x86_64-unknown-uefi-llvm
29
36
# TODO: add back gcc build when it is fixed
30
37
# - c_compiler: gcc
31
38
# cpp_compiler: g++
53
60
run : |
54
61
wget https://apt.llvm.org/llvm.sh
55
62
chmod +x llvm.sh
56
- sudo ./llvm.sh 20
63
+ sudo ./llvm.sh 21
57
64
sudo apt-get update
58
65
sudo apt-get install -y libmpfr-dev libgmp-dev libmpc-dev ninja-build linux-libc-dev
59
66
sudo ln -sf /usr/include/$(uname -p)-linux-gnu/asm /usr/include/asm
76
83
-DCMAKE_C_COMPILER_LAUNCHER=${{ matrix.ccache-variant }}
77
84
-DCMAKE_CXX_COMPILER_LAUNCHER=${{ matrix.ccache-variant }}
78
85
-DCMAKE_INSTALL_PREFIX=${{ steps.strings.outputs.build-install-dir }}
86
+ -DLLVM_RUNTIMES_TARGET=${{ matrix.target }}
79
87
-DLLVM_ENABLE_RUNTIMES="libc;compiler-rt"
80
88
-DLLVM_LIBC_FULL_BUILD=ON
81
89
-DLLVM_LIBC_INCLUDE_SCUDO=ON
93
101
--target install
94
102
95
103
- name : Test
104
+ # Skip UEFI tests until we have testing set up.
105
+ if : ${{ ! endsWith(matrix.target, '-uefi-llvm') }}
96
106
run : >
97
107
cmake
98
108
--build ${{ steps.strings.outputs.build-output-dir }}
You can’t perform that action at this time.
0 commit comments