Skip to content

Commit 14b3572

Browse files
committed
Introduce a second target.
1 parent adf1e4f commit 14b3572

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

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

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,13 @@ jobs:
6060
target: armv6m-none-eabi
6161
include_scudo: OFF
6262
enable_baremetal_build: ON
63+
- os: ubuntu-24.04
64+
build__type: Release
65+
c_compiler: clang-22
66+
cpp_compiler: clang++-22
67+
target: armv7m-none-eabi
68+
include_scudo: OFF
69+
enable_baremetal_build: ON
6370
# TODO: add back gcc build when it is fixed
6471
# - c_compiler: gcc
6572
# cpp_compiler: g++
@@ -129,9 +136,9 @@ jobs:
129136
-S ${{ github.workspace }}/runtimes \
130137
-DCMAKE_BUILD_TYPE=Release \
131138
-DLLVM_LIBC_FULL_BUILD=ON \
132-
-DCMAKE_C_COMPILER_TARGET=armv6m-none-abi \
133-
-DCMAKE_CXX_COMPILER_TARGET=armv6m-none-abi \
134-
-DCMAKE_ASM_COMPILER_TARGET=armv6m-none-abi \
139+
-DCMAKE_C_COMPILER_TARGET=${{ matrix.target }} \
140+
-DCMAKE_CXX_COMPILER_TARGET=${{ matrix.target }} \
141+
-DCMAKE_ASM_COMPILER_TARGET=${{ matrix.target }} \
135142
-DCMAKE_C_FLAGS=-mfloat-abi=soft \
136143
-DCMAKE_CXX_FLAGS=-mfloat-abi=soft \
137144
-DCMAKE_C_COMPILER_WORKS=ON \
@@ -161,7 +168,7 @@ jobs:
161168
162169
- name: Test
163170
# Skip UEFI tests until we have testing set up.
164-
if: ${{ ! endsWith(matrix.target, '-uefi-llvm') }}
171+
if: ${{ ! endsWith(matrix.target, '-uefi-llvm') }} && ${{ matrix.enable_baremetal_build }} == "OFF"
165172
run: >
166173
cmake
167174
--build ${{ steps.strings.outputs.build-output-dir }}

0 commit comments

Comments
 (0)