Skip to content

Commit a4f6878

Browse files
committed
Guard test step. Skip compiler works cmake checks.
1 parent 484396b commit a4f6878

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,9 @@ jobs:
133133
-DCMAKE_CXX_COMPILER_TARGET=armv6m-none-abi \
134134
-DCMAKE_ASM_COMPILER_TARGET=armv6m-none-abi \
135135
-DCMAKE_C_FLAGS=-mfloat-abi=soft \
136-
-DCMAKE_CXX_FLAGS=-mfloat-abi=soft
136+
-DCMAKE_CXX_FLAGS=-mfloat-abi=soft \
137+
-DCMAKE_C_COMPILER_WORKS = ON \
138+
-DCMAKE_CXX_COMPILER_WORKS = ON
137139
else
138140
cmake -B ${{ steps.strings.outputs.build-output-dir }} \
139141
-DCMAKE_CXX_COMPILER=${{ matrix.cpp_compiler }} \
@@ -159,7 +161,7 @@ jobs:
159161
160162
- name: Test
161163
# Skip UEFI tests until we have testing set up.
162-
if: ${{ ! endsWith(matrix.target, '-uefi-llvm') }}
164+
if: ${{ ! endsWith(matrix.target, '-uefi-llvm') && matrix.enable_baremetal_build == "OFF" }}
163165
run: >
164166
cmake
165167
--build ${{ steps.strings.outputs.build-output-dir }}

0 commit comments

Comments
 (0)