Skip to content

Commit

Permalink
add odin benchmark step to workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
scottmckendry committed Oct 28, 2024
1 parent e2edd4c commit 487eb9d
Showing 1 changed file with 15 additions and 14 deletions.
29 changes: 15 additions & 14 deletions .github/workflows/readmeStats.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,18 @@ name: Generate Statistics Tables for Readme
on: push

jobs:
statistics:
name: Benchmark and Update Readme
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- run: cd 2022 && go build .
- run: cd 2022 && ./aoc2022 -benchmark
- run: cd 2023 && go build .
- run: cd 2023 && ./aoc2023 -benchmark
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: Update readme statistics
statistics:
name: Benchmark and Update Readme
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- run: cd 2021 && odin run . -- -benchmark
- run: cd 2022 && go build .
- run: cd 2022 && ./aoc2022 -benchmark
- run: cd 2023 && go build .
- run: cd 2023 && ./aoc2023 -benchmark
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: Update readme statistics

0 comments on commit 487eb9d

Please sign in to comment.