Skip to content

Commit 1b83899

Browse files
authored
tests: Verify nuklear.h is Rebuilt (#907)
This will verify Nuklear.h is clean before running tests. Will help identify when individuals miss rebuilding the nuklear.h file.
1 parent 76d7e8e commit 1b83899

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/ccpp.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,14 @@ jobs:
99

1010
steps:
1111
- uses: actions/checkout@v4
12+
13+
- name: Rebuild ./nuklear.h
14+
run: make nuke
15+
16+
- name: Ensure ./nuklear.h matches sources
17+
run: |
18+
git diff --exit-code nuklear.h || (printf "\nError: nuklear.h does not match sources. To fix:\n1. Apply changes to ./src/*\n2. Rebuild with 'make nuke'\n" && exit 1)
19+
1220
- name: apt-update
1321
run: sudo apt-get update -qq
1422
- name: apt get demo-libs

0 commit comments

Comments
 (0)