From 8fc665fc4e5e7ec2da87060eca851c5ba956935c Mon Sep 17 00:00:00 2001 From: Hans Ulrich Niedermann Date: Wed, 20 Nov 2024 16:15:52 +0100 Subject: [PATCH] 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. --- .github/workflows/build.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ee771db53..bc85a8bbc 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -63,6 +63,7 @@ jobs: mkdir _ambuild && cd _ambuild ../src/configure + --enable-option-checking=fatal --enable-doc --enable-parport --enable-linuxgpio @@ -312,6 +313,7 @@ jobs: CFLAGS="-I/opt/homebrew/include -I/opt/homebrew/opt/flex/include" LDFLAGS="-L/opt/homebrew/lib -L/opt/homebrew/opt/bison/lib" ../src/configure + --enable-option-checking=fatal - name: Build run: make -C _ambuild -j$(nproc)