roc/.github/workflows/benchmarks.yml
2021-01-25 19:29:12 +01:00

21 lines
409 B
YAML

on: [pull_request]
name: Benchmarks
jobs:
benchmark:
name: benchmark
runs-on: self-hosted
timeout-minutes: 60
steps:
- uses: actions/checkout@v2
- name: Log CPU model
run: cat /proc/cpuinfo | grep name | uniq
- name: Expose needed modules
run: cd editor && ./prep_benchmarks.sh && cd ..
- name: cargo bench
with:
command: bench