summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaxim Yurchuk <[email protected]>2024-07-25 13:13:14 +0300
committerGitHub <[email protected]>2024-07-25 13:13:14 +0300
commit31ff0c0fb752fafa07fa3482765e4f46552ab735 (patch)
tree0490c627110f54fbd657cf2a2361ea77154be247
parentf36b8b559d5a6aeb57d1f7ccfadf1762742ca588 (diff)
Add ya analyze-make timeline (#7061)
-rw-r--r--.github/actions/test_ya/action.yml7
1 files changed, 6 insertions, 1 deletions
diff --git a/.github/actions/test_ya/action.yml b/.github/actions/test_ya/action.yml
index 973fd0dcf43..9e9326d0fdc 100644
--- a/.github/actions/test_ya/action.yml
+++ b/.github/actions/test_ya/action.yml
@@ -310,11 +310,16 @@ runs:
set +ex
(./ya make ${{ inputs.build_target }} "${params[@]}" \
$RERUN_FAILED_OPT --log-file "$PUBLIC_DIR/ya_log.log" \
- --evlog-file "$PUBLIC_DIR/ya_evlog.jsonl" \
+ --evlog-file "$CURRENT_PUBLIC_DIR/ya_evlog.jsonl" \
--junit "$CURRENT_JUNIT_XML_PATH" --output "$YA_MAKE_OUT_DIR"; echo $? > exit_code) |& tee -a $YA_MAKE_OUTPUT
set -ex
RC=`cat exit_code`
+ # convert to chromium trace
+ # seems analyze-make don't have simple "output" parameter, so change cwd
+ ya_dir=$(pwd)
+ (cd $CURRENT_PUBLIC_DIR && $ya_dir/ya analyze-make timeline --evlog ya_evlog.jsonl)
+
if [ $RC -ne 0 ]; then
echo "ya make returned $RC, build failed"
echo "status=failed" >> $GITHUB_OUTPUT