Skip to content

Commit 5d6948b

Browse files
committed
ci: check CONFIG_WERROR was enabled during the build
Signed-off-by: Miguel Ojeda <[email protected]>
1 parent ff88903 commit 5d6948b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/ci.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -313,6 +313,9 @@ jobs:
313313
314314
- run: make ${{ env.MAKE_ARCH }} ${{ env.MAKE_CROSS_COMPILE }} ${{ env.MAKE_LLVM_IAS }} ${{ env.MAKE_TOOLCHAIN }} ${{ env.MAKE_OUTPUT }} ${{ env.MAKE_SYSROOT }} -j3
315315

316+
# Make sure `CONFIG_WERROR` was enabled
317+
- run: grep -F 'CONFIG_WERROR=y' ${{ env.BUILD_DIR }}.config
318+
316319
# Run
317320
- run: ${{ env.BUILD_DIR }}usr/gen_init_cpio .github/workflows/qemu-initramfs.desc > qemu-initramfs.img
318321

0 commit comments

Comments
 (0)