Skip to content

Commit

Permalink
ci: add json extraction and tracker.json usage
Browse files Browse the repository at this point in the history
  • Loading branch information
rishadbaniya committed Oct 6, 2024
1 parent 42403b8 commit 244191c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/CompileTimeDelta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ jobs:
mkdir -p compile-timings/timings/build_units/
mv debate-map/target/cargo-timings/cargo-timing-* compile-timings/timings/raw_html
#- name: Extract compile timing information from any new raw build timing html file that's not in tracker.json and add them to build_metadatas & build_units
#working-directory: debate-map/compile-timings/compile-timings-extractor
#run: |
##mv debate-map/target/cargo-timings/cargo-timing-* compile-timings/timings/
#cargo run -- --input-file ../timings/cargo-timing-20240825T213151Z.html --tracker-file ./tracker.json --metadata-dir ./hey --units-data-dir ./hehe
- name: Extract compile timing information from any new raw build timing html file that's not in tracker.json and add them to build_metadatas & build_units
working-directory: compile-timings/compile-timings-extractor
run: |
NEW_BUILD_HTML_FILE=$(ls -t ../timings/raw_html/ | head -n1)
cargo run -- --input-file ../timings/raw_html/$NEW_BUILD_HTML_FILE --tracker-file ../timings/tracker.json --metadata-dir ../timings/build_metadatas --units-data-dir ../timings/build_units
- name: Commit and push changes
working-directory: compile-timings
Expand Down

0 comments on commit 244191c

Please sign in to comment.