mirror of
https://github.com/libevent/libevent.git
synced 2025-01-09 00:56:20 +08:00
Run builds with -Werror on CI for linux
This commit is contained in:
parent
039458892b
commit
1915b564f3
8
.github/workflows/linux.yml
vendored
8
.github/workflows/linux.yml
vendored
@ -103,8 +103,8 @@ jobs:
|
||||
|
||||
mkdir -p build
|
||||
cd build
|
||||
echo [cmake]: cmake .. $EVENT_CMAKE_OPTIONS
|
||||
cmake .. $EVENT_CMAKE_OPTIONS || (rm -rf * && cmake .. $EVENT_CMAKE_OPTIONS)
|
||||
echo [cmake]: cmake .. -DEVENT__ENABLE_GCC_WARNINGS=ON $EVENT_CMAKE_OPTIONS
|
||||
cmake .. -DEVENT__ENABLE_GCC_WARNINGS=ON $EVENT_CMAKE_OPTIONS || (rm -rf * && cmake .. $EVENT_CMAKE_OPTIONS)
|
||||
cmake --build .
|
||||
|
||||
- name: Test
|
||||
@ -219,8 +219,8 @@ jobs:
|
||||
|
||||
mkdir -p build
|
||||
cd build
|
||||
echo [configure]: ../configure $EVENT_CONFIGURE_OPTIONS
|
||||
../configure $EVENT_CONFIGURE_OPTIONS
|
||||
echo [configure]: ../configure --enable-gcc-warnings $EVENT_CONFIGURE_OPTIONS
|
||||
../configure --enable-gcc-warnings $EVENT_CONFIGURE_OPTIONS
|
||||
make
|
||||
- name: Test
|
||||
shell: bash
|
||||
|
Loading…
x
Reference in New Issue
Block a user