Skip to content

Commit 0460b64

Browse files
Benchmarking CI
1 parent 96f120b commit 0460b64

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

.github/workflows/Benchmarking.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Benchmarking
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
jobs:
9+
benchmark:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- name: Checkout Repository
14+
uses: actions/checkout@v4
15+
16+
- name: Set up Julia
17+
uses: julia-actions/setup-julia@v2
18+
with:
19+
version: '1'
20+
21+
- name: Install Dependencies
22+
run: julia --project=benchmarks/ -e 'using Pkg; Pkg.instantiate()'
23+
24+
- name: Run Benchmarks and Generate Reports
25+
run: julia --project=benchmarks/ -e 'using DynamicPPLBenchmarks; weave_benchmarks()'
26+
27+
- name: Deploy to GitHub Pages
28+
uses: peaceiris/actions-gh-pages@v3
29+
with:
30+
github_token: ${{ secrets.GITHUB_TOKEN }}
31+
publish_dir: ./benchmarks/results
32+
publish_branch: gh-pages

0 commit comments

Comments
 (0)