Skip to content

Commit

Permalink
ci: Abort autotools builds in case of unsupported options
Browse files Browse the repository at this point in the history
Abort autotools CI builds in case we give them an unsupported
option. The default is to only warn, but the CI should catch
mistakes.
  • Loading branch information
ndim committed Nov 22, 2024
1 parent 5657eb9 commit 8fc665f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ jobs:
mkdir _ambuild && cd _ambuild
../src/configure
--enable-option-checking=fatal
--enable-doc
--enable-parport
--enable-linuxgpio
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 8fc665f

Please sign in to comment.