Run builds with -Werror on CI for linux

This commit is contained in:
Azat Khuzhin 2022-07-09 14:47:12 +03:00
parent 039458892b
commit 1915b564f3

View File

@ -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