Skip to content

Commit 30f025f

Browse files
[libc] add uefi fullbuild to workflows
1 parent 7598cea commit 30f025f

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

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

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,18 @@ jobs:
2121
ccache-variant: sccache
2222
c_compiler: clang
2323
cpp_compiler: clang++
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
2829
cpp_compiler: clang++
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++
@@ -73,6 +80,7 @@ jobs:
7380
-DCMAKE_C_COMPILER_LAUNCHER=${{ matrix.ccache-variant }}
7481
-DCMAKE_CXX_COMPILER_LAUNCHER=${{ matrix.ccache-variant }}
7582
-DCMAKE_INSTALL_PREFIX=${{ steps.strings.outputs.build-install-dir }}
83+
-DLLVM_RUNTIMES_TARGET=${{ matrix.target }}
7684
-DLLVM_ENABLE_RUNTIMES="libc;compiler-rt"
7785
-DLLVM_LIBC_FULL_BUILD=ON
7886
-DLLVM_LIBC_INCLUDE_SCUDO=ON
@@ -90,6 +98,8 @@ jobs:
9098
--target install
9199
92100
- name: Test
101+
# Skip UEFI tests until we have testing set up.
102+
if: ${{ ! endsWith(matrix.target, '-uefi-llvm') }}
93103
run: >
94104
cmake
95105
--build ${{ steps.strings.outputs.build-output-dir }}

0 commit comments

Comments
 (0)