mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-09-13 09:16:14 -07:00
ci: Allow the artifact copy to fail.
If the build fails some artifact files might not exist, and we don't want the script to fail just because of that.
This commit is contained in:
parent
31346e2cba
commit
2955232656
Notes:
Alexandre Julliard
2023-11-06 23:17:45 +01:00
Approved-by: Henri Verbeet (@hverbeet) Approved-by: Alexandre Julliard (@julliard) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/423
@ -19,7 +19,7 @@ cd build
|
||||
touch ../pipeline_failed
|
||||
|
||||
mkdir -p ../artifacts/$COMMIT
|
||||
rsync -Rr config.log tests/*.txt tests/*.exe ../artifacts/$COMMIT
|
||||
rsync -Rr config.log tests/*.txt tests/*.exe ../artifacts/$COMMIT || true
|
||||
|
||||
# Make the driver easily available to the Windows CI job
|
||||
cp tests/driver.cross64.exe ../artifacts
|
||||
|
@ -18,6 +18,6 @@ export LD_LIBRARY_PATH=/usr/local/lib
|
||||
touch ../pipeline_failed
|
||||
|
||||
mkdir -p ../artifacts/$COMMIT
|
||||
rsync -Rr config.log doc/* test-suite.log tests/*.log tests/*/*.log ../artifacts/$COMMIT
|
||||
rsync -Rr config.log doc/* test-suite.log tests/*.log tests/*/*.log ../artifacts/$COMMIT || true
|
||||
|
||||
git reset --hard
|
||||
|
@ -17,6 +17,6 @@ cd build
|
||||
touch ../pipeline_failed
|
||||
|
||||
mkdir -p ../artifacts/$COMMIT
|
||||
rsync -Rr config.log test-suite.log tests/*.log tests/*/*.log ../artifacts/$COMMIT
|
||||
rsync -Rr config.log test-suite.log tests/*.log tests/*/*.log ../artifacts/$COMMIT || true
|
||||
|
||||
git reset --hard
|
||||
|
@ -19,7 +19,7 @@ cp -r /usr/include/vulkan /usr/include/vk_video /usr/include/spirv vulkan-header
|
||||
touch ../pipeline_failed
|
||||
|
||||
mkdir -p ../artifacts/$COMMIT
|
||||
cp config.log ../artifacts/$COMMIT
|
||||
cp destdir/usr/local/bin/* ../artifacts/$COMMIT
|
||||
cp config.log ../artifacts/$COMMIT || true
|
||||
cp destdir/usr/local/bin/* ../artifacts/$COMMIT || true
|
||||
|
||||
git reset --hard
|
||||
|
Loading…
Reference in New Issue
Block a user