mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -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
@@ -19,6 +19,8 @@
|
||||
#include <stdio.h>
|
||||
#include <stdbool.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdint.h>
|
||||
#include <time.h>
|
||||
#include <windows.h>
|
||||
#include <shlobj.h>
|
||||
|
||||
@@ -141,8 +143,8 @@ static bool run_tests_for_directory(const char *commit_dir)
|
||||
if (!test_arch)
|
||||
test_arch = "64";
|
||||
|
||||
printf("Building %s\n", commit_dir);
|
||||
printf("---\n");
|
||||
printf("\e[0Ksection_start:%I64d:commit_%s\r\e[0KBuilding commit %s\n",
|
||||
(uint64_t)time(NULL), commit_dir, commit_dir);
|
||||
|
||||
sprintf(list_filename, "artifacts/%s/tests/shader_tests.txt", commit_dir);
|
||||
list_file = fopen(list_filename, "r");
|
||||
@@ -232,6 +234,9 @@ static bool run_tests_for_directory(const char *commit_dir)
|
||||
}
|
||||
}
|
||||
|
||||
printf("\e[0Ksection_end:%I64d:commit_%s\r\e[0K\n",
|
||||
(uint64_t)time(NULL), commit_dir);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user