mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-22 07:03:38 +00:00
github: Use ./configure --enable-werror
We should test with compiler warnings turned into errors, to avoid warnings being inadvertently introduced in new code.
This commit is contained in:
4
.github/workflows/main.yml
vendored
4
.github/workflows/main.yml
vendored
@@ -59,7 +59,7 @@ jobs:
|
||||
- name: Compile the code
|
||||
run: |
|
||||
autoreconf -fiv
|
||||
./configure --disable-gobject
|
||||
./configure --disable-gobject --enable-werror
|
||||
make -j
|
||||
|
||||
- name: Run the quick test
|
||||
@@ -136,7 +136,7 @@ jobs:
|
||||
run: |
|
||||
su -c '
|
||||
autoreconf -fiv &&
|
||||
./configure CFLAGS="-fPIC -g -O2" --disable-gobject &&
|
||||
./configure CFLAGS="-fPIC -g -O2" --disable-gobject --enable-werror &&
|
||||
make -j
|
||||
' guestfs
|
||||
|
||||
|
||||
Reference in New Issue
Block a user