|
@@ -70,6 +70,7 @@ jobs:
|
|
run: |
|
|
run: |
|
|
cmake -S . -B build -G Ninja \
|
|
cmake -S . -B build -G Ninja \
|
|
-DSDL_TESTS=ON \
|
|
-DSDL_TESTS=ON \
|
|
|
|
+ -DSDL_WERROR=ON \
|
|
-DSDL_INSTALL_TESTS=ON \
|
|
-DSDL_INSTALL_TESTS=ON \
|
|
-DCMAKE_INSTALL_PREFIX=cmake_prefix \
|
|
-DCMAKE_INSTALL_PREFIX=cmake_prefix \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
@@ -101,6 +102,7 @@ jobs:
|
|
(
|
|
(
|
|
cd build-autotools
|
|
cd build-autotools
|
|
${{ github.workspace }}/configure \
|
|
${{ github.workspace }}/configure \
|
|
|
|
+ --enable-werror \
|
|
--prefix=${{ github.workspace }}/autotools_prefix \
|
|
--prefix=${{ github.workspace }}/autotools_prefix \
|
|
)
|
|
)
|
|
if test "${{ runner.os }}" != "macOS" ; then
|
|
if test "${{ runner.os }}" != "macOS" ; then
|
|
@@ -110,6 +112,7 @@ jobs:
|
|
mkdir -p build-autotools/test
|
|
mkdir -p build-autotools/test
|
|
cd build-autotools/test
|
|
cd build-autotools/test
|
|
${{ github.workspace }}/test/configure \
|
|
${{ github.workspace }}/test/configure \
|
|
|
|
+ --enable-werror \
|
|
--x-includes=/usr/include \
|
|
--x-includes=/usr/include \
|
|
--x-libraries="/usr/lib/${multiarch}" \
|
|
--x-libraries="/usr/lib/${multiarch}" \
|
|
--prefix=${{ github.workspace }}/autotools_prefix \
|
|
--prefix=${{ github.workspace }}/autotools_prefix \
|