Skip to content

Add Abilities language reference #9657

Add Abilities language reference

Add Abilities language reference #9657

Workflow file for this run

on:
pull_request:
name: Benchmarks
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
RUST_BACKTRACE: 1
ROC_NUM_WORKERS: 1
jobs:
prep-dependency-container:
name: benchmark roc programs
runs-on: [self-hosted, i7-6700K]
timeout-minutes: 60
env:
FORCE_COLOR: 1
steps:
- uses: actions/checkout@v3
with:
ref: "main"
clean: "true"
- name: on main; prepare a self-contained benchmark folder
run: nix develop -c ./ci/benchmarks/prep_folder.sh main
- uses: actions/checkout@v3
with:
clean: "false" # we want to keep the benchmark folder
- name: on current branch; prepare a self-contained benchmark folder
run: nix develop -c ./ci/benchmarks/prep_folder.sh branch
- name: build benchmark runner
run: nix develop -c bash -c "cd ci/benchmarks/bench-runner && cargo build --release && cd ../../.."
- name: run benchmarks with regression check
run: nix develop -c ./ci/benchmarks/bench-runner/target/release/bench-runner --check-executables-changed