-
Notifications
You must be signed in to change notification settings - Fork 6
36 lines (34 loc) · 967 Bytes
/
bench.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: Benchmarks
on:
pull_request:
push:
branches:
- master
jobs:
rebench:
name: Run and report benchmarks
runs-on: ubuntu-latest
steps:
- name: Checkout master branch
uses: actions/checkout@v2
with:
submodules: true
- name: Install stable toolchain
uses: actions-rs/toolchain@v1
with:
profile: default
toolchain: stable
- name: Compile SOM interpreter
uses: actions-rs/cargo@v1
with:
command: build
args: --release -p som-interpreter-ast -p som-interpreter-bc
- name: Install ReBench
run: |
pip install setuptools
pip install wheel
pip install rebench
- name: Run and report benchmarks
run: |
export PATH="${PATH}:${HOME}/.local/bin"
rebench --experiment="CI Benchmark Run ID ${GITHUB_RUN_ID}" --branch="${GITHUB_REF}" -c rebench.conf som-rs