mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-04-13 05:43:18 -07:00
ci: Expect builds to always succeed, even when tests are allowed to fail.
This commit is contained in:
committed by
Alexandre Julliard
parent
f0a6c7de1d
commit
f8fcfc52d8
Notes:
Alexandre Julliard
2023-11-07 22:40:42 +01:00
Approved-by: Giovanni Mascellani (@giomasce) Approved-by: Henri Verbeet (@hverbeet) Approved-by: Alexandre Julliard (@julliard) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/449
@@ -12,10 +12,13 @@ rm -fr build
|
||||
mkdir build
|
||||
cd build
|
||||
export LD_LIBRARY_PATH=/usr/local/lib
|
||||
../configure --enable-demos DXCOMPILER_LIBS="-L/usr/local/lib" CFLAGS="-g -O2 -Werror" CPPFLAGS="-DVKD3D_SHADER_UNSUPPORTED_DXIL" && \
|
||||
make -j$(nproc) && \
|
||||
if ../configure --enable-demos DXCOMPILER_LIBS="-L/usr/local/lib" CFLAGS="-g -O2 -Werror" CPPFLAGS="-DVKD3D_SHADER_UNSUPPORTED_DXIL" && \
|
||||
make -j$(nproc) ; then
|
||||
make -j$(nproc) check || \
|
||||
touch ../pipeline_failed
|
||||
touch ../tests_failed
|
||||
else
|
||||
touch ../build_failed
|
||||
fi
|
||||
|
||||
mkdir -p ../artifacts/$COMMIT
|
||||
rsync -Rr config.log doc/* test-suite.log tests/*.log tests/*/*.log ../artifacts/$COMMIT || true
|
||||
|
Reference in New Issue
Block a user