Skip to content

Commit

Permalink
Merge pull request #4 from orhun/setup-ci
Browse files Browse the repository at this point in the history
Set up GitHub Actions for running benchmarks
  • Loading branch information
orhun committed Jul 31, 2023
2 parents a8ead89 + dc47b04 commit 91833a2
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Benchmark

on:
push:
branches:
- master
pull_request:
workflow_dispatch:
schedule:
- cron: "0 0 * * 0"

jobs:
bench:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Install cargo-binstall
uses: taiki-e/install-action@cargo-binstall

- name: Install Hyperfine
run: cargo binstall -y hyperfine

- name: Install Zig
uses: goto-bus-stop/setup-zig@v2

- name: Run benchmarks
shell: bash
run: ./bench.sh

0 comments on commit 91833a2

Please sign in to comment.