From 3b4c86fce9667af6b944a56f45fdc1ab90fdecc1 Mon Sep 17 00:00:00 2001 From: Arseny Kapoulkine Date: Thu, 30 Jun 2022 20:18:26 -0700 Subject: [PATCH] Final test --- .github/workflows/benchmark.yml | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index e0ba8e86..bf0ee7a1 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -14,22 +14,17 @@ on: jobs: callgrind: - name: callgrind + name: ubuntu-callgrind strategy: fail-fast: false matrix: + os: [ubuntu-latest] bench: - - { - script: "run-benchmarks", - timeout: 12, - title: "Luau Benchmarks (Callgrind)", - cachegrindTitle: "Performance", - cachegrindIterCount: 20, - } + - { title: "Luau Benchmarks (Callgrind)" } benchResultsRepo: - { name: "luau-lang/benchmark-data", branch: "main" } - runs-on: ubuntu-latest + runs-on: ${{ matrix.os }} steps: - name: Checkout Luau repository uses: actions/checkout@v3 @@ -43,7 +38,7 @@ jobs: - name: Run benchmark 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 uses: actions/checkout@v3 @@ -58,7 +53,7 @@ jobs: with: name: ${{ matrix.bench.title }} tool: "benchmarkluau" - output-file-path: ./${{ matrix.bench.script }}-output.txt + output-file-path: ./output.txt external-data-json-path: ./gh-pages/bench/data.json github-token: ${{ secrets.BENCH_GITHUB_TOKEN }}