mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -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
@@ -11,10 +11,13 @@ set -Eeuxo pipefail
|
||||
rm -fr build
|
||||
mkdir build
|
||||
cd build
|
||||
../configure CFLAGS="-g -O2 -Wno-implicit-fallthrough -Wno-enum-conversion -Werror" && \
|
||||
make -j$(sysctl -n hw.ncpu) && \
|
||||
if ../configure CFLAGS="-g -O2 -Wno-implicit-fallthrough -Wno-enum-conversion -Werror" && \
|
||||
make -j$(sysctl -n hw.ncpu) ; then
|
||||
make -j$(sysctl -n hw.ncpu) check || \
|
||||
touch ../pipeline_failed
|
||||
touch ../tests_failed
|
||||
else
|
||||
touch ../build_failed
|
||||
fi
|
||||
|
||||
mkdir -p ../artifacts/$COMMIT
|
||||
rsync -Rr config.log test-suite.log tests/*.log tests/*/*.log ../artifacts/$COMMIT || true
|
||||
|
Reference in New Issue
Block a user