mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
ci: Compile with -Werror.
Manually disable some warnings that are currently emitted. Eventually the warnings should be solved and -Werror should remain alone.
This commit is contained in:
parent
39be40ce94
commit
fd6c6895d6
Notes:
Alexandre Julliard
2023-10-02 22:33:40 +02:00
Approved-by: Henri Verbeet (@hverbeet) Approved-by: Alexandre Julliard (@julliard) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/377
@ -14,7 +14,7 @@ set -Eeuxo pipefail
|
|||||||
rm -fr build
|
rm -fr build
|
||||||
mkdir build
|
mkdir build
|
||||||
cd build
|
cd build
|
||||||
../configure CROSSCC32="i686-w64-mingw32-gcc -Wno-array-bounds" CROSSCC64="x86_64-w64-mingw32-gcc -Wno-array-bounds" && \
|
../configure CROSSCC32="i686-w64-mingw32-gcc" CROSSCC64="x86_64-w64-mingw32-gcc" CFLAGS="-g -O2 -Wno-array-bounds -Werror" && \
|
||||||
make -j$(nproc) crosstest || \
|
make -j$(nproc) crosstest || \
|
||||||
touch ../pipeline_failed
|
touch ../pipeline_failed
|
||||||
|
|
||||||
|
@ -11,7 +11,7 @@ set -Eeuxo pipefail
|
|||||||
rm -fr build
|
rm -fr build
|
||||||
mkdir build
|
mkdir build
|
||||||
cd build
|
cd build
|
||||||
../configure --enable-demos && \
|
../configure --enable-demos CFLAGS="-g -O2 -Werror" && \
|
||||||
make -j$(nproc) && \
|
make -j$(nproc) && \
|
||||||
make -j$(nproc) check || \
|
make -j$(nproc) check || \
|
||||||
touch ../pipeline_failed
|
touch ../pipeline_failed
|
||||||
|
@ -11,7 +11,7 @@ set -Eeuxo pipefail
|
|||||||
rm -fr build
|
rm -fr build
|
||||||
mkdir build
|
mkdir build
|
||||||
cd build
|
cd build
|
||||||
../configure && \
|
../configure CFLAGS="-g -O2 -Wno-implicit-fallthrough -Wno-enum-conversion -Werror" && \
|
||||||
make -j$(sysctl -n hw.ncpu) && \
|
make -j$(sysctl -n hw.ncpu) && \
|
||||||
make -j$(sysctl -n hw.ncpu) check || \
|
make -j$(sysctl -n hw.ncpu) check || \
|
||||||
touch ../pipeline_failed
|
touch ../pipeline_failed
|
||||||
|
@ -13,7 +13,7 @@ mkdir build
|
|||||||
cd build
|
cd build
|
||||||
mkdir vulkan-headers
|
mkdir vulkan-headers
|
||||||
cp -r /usr/include/vulkan /usr/include/vk_video /usr/include/spirv vulkan-headers
|
cp -r /usr/include/vulkan /usr/include/vk_video /usr/include/spirv vulkan-headers
|
||||||
../configure --enable-demos --disable-doxygen-doc --without-ncurses --host=$HOST SONAME_LIBVULKAN="vulkan-1.dll" CPPFLAGS="-I$PWD/vulkan-headers" CFLAGS="-g -O2 -Wno-format -Wno-array-bounds" LDFLAGS="-static-libgcc" && \
|
../configure --enable-demos --disable-doxygen-doc --without-ncurses --host=$HOST SONAME_LIBVULKAN="vulkan-1.dll" CPPFLAGS="-I$PWD/vulkan-headers" CFLAGS="-g -O2 -Wno-format -Wno-array-bounds -Wno-missing-prototypes -Wno-discarded-qualifiers -Wno-incompatible-pointer-types -Werror" LDFLAGS="-static-libgcc" && \
|
||||||
make -j$(nproc) && \
|
make -j$(nproc) && \
|
||||||
make -j$(nproc) install DESTDIR="$PWD/destdir" || \
|
make -j$(nproc) install DESTDIR="$PWD/destdir" || \
|
||||||
touch ../pipeline_failed
|
touch ../pipeline_failed
|
||||||
|
Loading…
Reference in New Issue
Block a user