Skip to content

Commit 24cd14a

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

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

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

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,18 @@ jobs:
2121
ccache-variant: sccache
2222
c_compiler: clang-20
2323
cpp_compiler: clang++-20
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
2728
c_compiler: clang-20
2829
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
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)