Skip to content

Commit

Permalink
#30: Update entrypoint.sh and Markdown code gen
Browse files Browse the repository at this point in the history
  • Loading branch information
JacobDomagala committed May 14, 2024
1 parent 280e454 commit ac5f61b
Show file tree
Hide file tree
Showing 4 changed files with 215 additions and 230 deletions.
17 changes: 1 addition & 16 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -104,29 +104,14 @@ tmp_dir=$(mktemp -d -t ci-XXXXXXXXXX)
# Generate graph
python3 /generate_build_graph.py -vt "$vt_build_time" -te "$tests_and_examples_build" -r "$GITHUB_RUN_NUMBER"

# perf_test_files=$(find "$VT_BUILD_FOLDER/tests/" -name "*_mem.csv" | sed 's!.*/!!' | sed -e 's/_mem.csv$//')
cd perf_tests

python3 /generate_perf_graph.py

# for file in $perf_test_files
# do
# # Each test generates both time/mem files
# time_file="${file}_time.csv"
# memory_file="${file}_mem.csv"

# echo "Test files $VT_BUILD_FOLDER/tests/$time_file $VT_BUILD_FOLDER/tests/$memory_file for test: $file"

# python3 /generate_perf_graph.py -time "$VT_BUILD_FOLDER/tests/$time_file"\
# -mem "$VT_BUILD_FOLDER/tests/$memory_file" -r "$GITHUB_RUN_NUMBER" -wiki "$tmp_dir"
# done

cd -

cp "$GITHUB_WORKSPACE/build_result.txt" "$INPUT_BUILD_STATS_OUTPUT"
eval cp "$GITHUB_WORKSPACE/flame_heaptrack*" "./perf_tests/"

python3 /generate_wiki_pages.py -t "$perf_test_files"
python3 /generate_wiki_pages.py

git add .
git commit -m "$INPUT_COMMIT_MESSAGE"
Expand Down
Loading

0 comments on commit ac5f61b

Please sign in to comment.