Skip to content

Commit

Permalink
add homepage to gh pages
Browse files Browse the repository at this point in the history
  • Loading branch information
SOF3 committed Dec 8, 2024
1 parent f024627 commit 9727589
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/bench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,29 @@ jobs:
# since the iai version cannot be built without private inputs.
- name: Run iai
run: cargo bench iai --features iai-bench >target/criterion/iai.txt
- name: Generate index page
run: |
cat <<EOF > target/criterion/index.html
<html>
<head>
<title>AoC 2024 solutions by SOFe</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
</head>
<body>
<h1>AoC 2024 solutions by SOFe</h1>
<ul>
<li><a href="https://github.com/SOF3/aoc2024">Source code</a></li>
<li>
<a href="./report/index.html">Benchmark reports</a>
(executed on GitHub CI, very unreliable)
</li>
<li><a href="./iai.txt">
Cachegrind-based CPU cycle &amp; memory access report
</a></li>
</ul>
</body>
</html>
EOF
- name: Publish results
id: deployment
uses: actions/upload-pages-artifact@v3
Expand Down

0 comments on commit 9727589

Please sign in to comment.