mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-09-13 09:16:14 -07:00
ci: Wrap complex commands in CI scripts.
This commit is contained in:
parent
335f9fb31e
commit
2dd4211b77
Notes:
Alexandre Julliard
2023-09-26 22:47:59 +02:00
Approved-by: Henri Verbeet (@hverbeet) Approved-by: Alexandre Julliard (@julliard) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/359
@ -14,7 +14,9 @@ set -Eeuxo pipefail
|
||||
rm -fr build
|
||||
mkdir build
|
||||
cd build
|
||||
../configure CROSSCC32="i686-w64-mingw32-gcc -Wno-array-bounds" CROSSCC64="x86_64-w64-mingw32-gcc -Wno-array-bounds" && make -j$(nproc) crosstest || touch ../pipeline_failed
|
||||
../configure CROSSCC32="i686-w64-mingw32-gcc -Wno-array-bounds" CROSSCC64="x86_64-w64-mingw32-gcc -Wno-array-bounds" && \
|
||||
make -j$(nproc) crosstest || \
|
||||
touch ../pipeline_failed
|
||||
|
||||
mkdir -p ../artifacts/$COMMIT
|
||||
rsync -Rr tests/*.exe ../artifacts/$COMMIT
|
||||
|
@ -11,7 +11,10 @@ set -Eeuxo pipefail
|
||||
rm -fr build
|
||||
mkdir build
|
||||
cd build
|
||||
../configure --enable-demos && make -j$(nproc) && make -j$(nproc) check || touch ../pipeline_failed
|
||||
../configure --enable-demos && \
|
||||
make -j$(nproc) && \
|
||||
make -j$(nproc) check || \
|
||||
touch ../pipeline_failed
|
||||
|
||||
mkdir -p ../artifacts/$COMMIT
|
||||
rsync -Rr doc/* test-suite.log tests/*.log tests/*/*.log ../artifacts/$COMMIT
|
||||
|
@ -11,7 +11,10 @@ set -Eeuxo pipefail
|
||||
rm -fr build
|
||||
mkdir build
|
||||
cd build
|
||||
../configure && make -j$(sysctl -n hw.ncpu) && make -j$(sysctl -n hw.ncpu) check || touch ../pipeline_failed
|
||||
../configure && \
|
||||
make -j$(sysctl -n hw.ncpu) && \
|
||||
make -j$(sysctl -n hw.ncpu) check || \
|
||||
touch ../pipeline_failed
|
||||
|
||||
mkdir -p ../artifacts/$COMMIT
|
||||
rsync -Rr test-suite.log tests/*.log tests/*/*.log ../artifacts/$COMMIT
|
||||
|
Loading…
Reference in New Issue
Block a user