Skip to content

Commit ce8b775

Browse files
[libc] add uefi fullbuild to workflows
1 parent 122e515 commit ce8b775

File tree

1 file changed

+15
-5
lines changed

1 file changed

+15
-5
lines changed

.github/workflows/libc-fullbuild-tests.yml

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff 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
34+
cpp_compiler: clang++
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++
@@ -53,7 +60,7 @@ jobs:
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
@@ -76,6 +83,7 @@ jobs:
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
@@ -93,6 +101,8 @@ jobs:
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 }}

0 commit comments

Comments
 (0)