Skip to content

Commit 65c837d

Browse files
committed
ci: Abort autotools builds in case of unsupported options
Abort autotools CI builds in case we give them an unsupported option. The default is to only warn, but the CI should catch mistakes.
1 parent cf95843 commit 65c837d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ jobs:
6363
mkdir _ambuild && cd _ambuild
6464
6565
../src/configure
66+
--enable-option-checking=fatal
6667
--enable-doc
6768
--enable-parport
6869
--enable-linuxgpio
@@ -312,6 +313,7 @@ jobs:
312313
CFLAGS="-I/opt/homebrew/include -I/opt/homebrew/opt/flex/include"
313314
LDFLAGS="-L/opt/homebrew/lib -L/opt/homebrew/opt/bison/lib"
314315
../src/configure
316+
--enable-option-checking=fatal
315317
316318
- name: Build
317319
run: make -C _ambuild -j$(nproc)

0 commit comments

Comments
 (0)