From f56fc25e93159ee408eaaaaea52caf2ed8a505d3 Mon Sep 17 00:00:00 2001 From: Rob Loach Date: Sat, 7 Mar 2026 12:56:57 -0500 Subject: [PATCH] Update .github/workflows/ccpp.yml Co-authored-by: sleeptightAnsiC <91839286+sleeptightAnsiC@users.noreply.github.com> --- .github/workflows/ccpp.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml index ac7a7e49..65dfa5d9 100644 --- a/.github/workflows/ccpp.yml +++ b/.github/workflows/ccpp.yml @@ -14,11 +14,14 @@ jobs: - name: apt get demo-libs run: sudo apt-get install -y --no-install-recommends glslc liballegro5-dev liballegro-image5-dev liballegro-ttf5-dev libcairo2-dev libglfw3 libglfw3-dev libglew-dev libsdl2-dev libvulkan-dev libwayland-dev libx11-dev libxcb1-dev libxcb-util0-dev libxcb-keysyms1-dev libxft-dev libxkbcommon-x11-dev wayland-protocols - # Verify Nuklear.h is clean - - name: Rebuild Nuklear.h - run: make nuke - - name: Verify `build.py` was run - run: git diff --exit-code nuklear.h + # Verify ./nuklear.h mirrors ./src/* + - name: Verify ./nuklear.h + run: make nuke && \ + if ! git diff --exit-code nuklear.h ; then \ + echo "Did you forgot to rebuild ./nuklear.h ?" >/dev/stderr ; \ + echo "Make sure to apply your changes to ./src/* first, and only then rebuild the amalgamation with ./src/paq* !" >/dev/stderr ; \ + exit 1 ; \ + fi ; # Build the Demos - name: build allegro5