Skip to content

Commit 31ff0c0

Browse files
authored
Add ya analyze-make timeline (#7061)
1 parent f36b8b5 commit 31ff0c0

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/actions/test_ya/action.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,11 +310,16 @@ runs:
310310
set +ex
311311
(./ya make ${{ inputs.build_target }} "${params[@]}" \
312312
$RERUN_FAILED_OPT --log-file "$PUBLIC_DIR/ya_log.log" \
313-
--evlog-file "$PUBLIC_DIR/ya_evlog.jsonl" \
313+
--evlog-file "$CURRENT_PUBLIC_DIR/ya_evlog.jsonl" \
314314
--junit "$CURRENT_JUNIT_XML_PATH" --output "$YA_MAKE_OUT_DIR"; echo $? > exit_code) |& tee -a $YA_MAKE_OUTPUT
315315
set -ex
316316
RC=`cat exit_code`
317317

318+
# convert to chromium trace
319+
# seems analyze-make don't have simple "output" parameter, so change cwd
320+
ya_dir=$(pwd)
321+
(cd $CURRENT_PUBLIC_DIR && $ya_dir/ya analyze-make timeline --evlog ya_evlog.jsonl)
322+
318323
if [ $RC -ne 0 ]; then
319324
echo "ya make returned $RC, build failed"
320325
echo "status=failed" >> $GITHUB_OUTPUT

0 commit comments

Comments
 (0)