Don't have Str.replace functions return Result #8850
Workflow file for this run
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
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 |