mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-04-13 05:43:18 -07:00
ci: Delimit building each commit with a collapsible section.
This commit is contained in:
committed by
Alexandre Julliard
parent
5ab1ef1cad
commit
ca2f54e729
Notes:
Alexandre Julliard
2024-04-09 15:46:38 -05: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/762
@@ -1,10 +1,9 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo "Building $(git log -1)"
|
||||
echo "---"
|
||||
|
||||
COMMIT=$(printf '%03d-%s' $(git cherry $CI_MERGE_REQUEST_DIFF_BASE_SHA HEAD^ | wc -l) $(git rev-parse --short HEAD))
|
||||
|
||||
echo -e "\e[0Ksection_start:`date +%s`:commit_$COMMIT\r\e[0KBuilding commit $COMMIT"
|
||||
|
||||
set -Eeuxo pipefail
|
||||
|
||||
./autogen.sh
|
||||
@@ -26,3 +25,5 @@ mkdir -p ../artifacts/$COMMIT
|
||||
rsync -Rr config.log doc/* test-suite.log tests/*.log tests/*/*.log ../artifacts/$COMMIT || true
|
||||
|
||||
git reset --hard
|
||||
|
||||
echo -e "\e[0Ksection_end:`date +%s`:commit_$COMMIT\r\e[0K"
|
||||
|
Reference in New Issue
Block a user