From 172474a9e9272e4f36c12bb2732adc31b979850e 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 ee771db5..bc85a8bb 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)