Final test

This commit is contained in:
Arseny Kapoulkine 2022-06-30 20:18:26 -07:00
parent fa1a927887
commit 3b4c86fce9

View file

@ -14,22 +14,17 @@ on:
jobs: jobs:
callgrind: callgrind:
name: callgrind name: ubuntu-callgrind
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
os: [ubuntu-latest]
bench: bench:
- { - { title: "Luau Benchmarks (Callgrind)" }
script: "run-benchmarks",
timeout: 12,
title: "Luau Benchmarks (Callgrind)",
cachegrindTitle: "Performance",
cachegrindIterCount: 20,
}
benchResultsRepo: benchResultsRepo:
- { name: "luau-lang/benchmark-data", branch: "main" } - { name: "luau-lang/benchmark-data", branch: "main" }
runs-on: ubuntu-latest runs-on: ${{ matrix.os }}
steps: steps:
- name: Checkout Luau repository - name: Checkout Luau repository
uses: actions/checkout@v3 uses: actions/checkout@v3
@ -43,7 +38,7 @@ jobs:
- name: Run benchmark - name: Run benchmark
run: | run: |
python bench/bench.py --callgrind | tee ${{ matrix.bench.script }}-output.txt python bench/bench.py --callgrind | tee output.txt
- name: Checkout Benchmark Results repository - name: Checkout Benchmark Results repository
uses: actions/checkout@v3 uses: actions/checkout@v3
@ -58,7 +53,7 @@ jobs:
with: with:
name: ${{ matrix.bench.title }} name: ${{ matrix.bench.title }}
tool: "benchmarkluau" tool: "benchmarkluau"
output-file-path: ./${{ matrix.bench.script }}-output.txt output-file-path: ./output.txt
external-data-json-path: ./gh-pages/bench/data.json external-data-json-path: ./gh-pages/bench/data.json
github-token: ${{ secrets.BENCH_GITHUB_TOKEN }} github-token: ${{ secrets.BENCH_GITHUB_TOKEN }}