Update Buildkite CI pipeline #1073
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Benchmarks | |
on: [pull_request] | |
jobs: | |
benchmark: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Julia | |
uses: julia-actions/setup-julia@latest | |
with: | |
version: "1" | |
- name: Install dependencies | |
run: julia -e 'using Pkg; pkg"add PkgBenchmark BenchmarkCI@0.1"' | |
- name: Run benchmarks | |
run: julia -e 'using BenchmarkCI; BenchmarkCI.judge(; baseline = "origin/main")' | |
- name: Print results | |
run: julia -e 'using BenchmarkCI; BenchmarkCI.displayjudgement()' |