From 931e6da0ab74f22a95d7a417863a69eeb4186990 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20van=20Dorst?= Date: Sun, 20 Sep 2026 20:54:35 +0200 Subject: [PATCH 1/3] Makefile: Add option CI to turn all warnings into errors --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 4b0190d2..a35e8da9 100644 --- a/Makefile +++ b/Makefile @@ -20,6 +20,10 @@ else CC_FLAGS += -DMACHINE_$(MACHINE) endif +ifeq ($(CI),1) + CC_FLAGS += --Werror +endif + BUILDDIR = output/$(MACHINE) VERSION_HEADER := version.h From a4bb3f172590e54b36ac759b2b90634edc952042 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20van=20Dorst?= Date: Sun, 20 Sep 2026 20:55:37 +0200 Subject: [PATCH 2/3] CI: Enable CI option to stop at warnings --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8fc36371..af4ac0c0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -23,4 +23,4 @@ jobs: - name: Check if machine.c can be compiled for all machines run: make machine_check - name: Make project - run: make MACHINE="KP_9000_6XHML_X2" + run: make CI=1 MACHINE="KP_9000_6XHML_X2" From 94cfec86933f74ed154fbd530dac0b924ad3d0f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20van=20Dorst?= Date: Sun, 20 Sep 2026 20:59:06 +0200 Subject: [PATCH 3/3] CI: Build a 4x2/8372 and 8x1/8373 version --- .github/workflows/build.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index af4ac0c0..81b98804 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -22,5 +22,7 @@ jobs: run: make -C test - name: Check if machine.c can be compiled for all machines run: make machine_check - - name: Make project + - name: Make project (4x2/RTL8372) run: make CI=1 MACHINE="KP_9000_6XHML_X2" + - name: Make project (8x1/RTL8373) + run: make CI=1 MACHINE="KP_9000_9XHML_X_V3_1"