Refactoring: Abstracted benchmark results into matrix & switched to luau-lang results repo for results

This commit is contained in:
Allan Jeremy 2022-05-25 17:08:10 +03:00
parent a93dc3f2a2
commit 0170493a1f
2 changed files with 6 additions and 4 deletions

View file

@ -26,6 +26,7 @@ jobs:
cachegrindTitle: "Performance",
cachegrindIterCount: 20,
}
benchResultsRepo: [{ name: "luau-lang/benchmark-data", branch: "main" }]
runs-on: ${{ matrix.os }}
steps:
@ -59,8 +60,8 @@ jobs:
- name: Switch to & checkout benchmark results (gh-pages) repo
uses: actions/checkout@v3
with:
repository: AllanJeremy/luau-benchmark-results
ref: "main"
repository: ${{ matrix.benchmarkResultsRepo.name }}
ref: ${{ matrix.benchmarkResultsRepo.branch }}
token: "${{ secrets.BENCH_GITHUB_TOKEN }}"
path: "./gh-pages"

View file

@ -26,6 +26,7 @@ jobs:
cachegrindTitle: "Performance",
cachegrindIterCount: 20,
}
benchResultsRepo: [{ name: "luau-lang/benchmark-data", branch: "main" }]
runs-on: ${{ matrix.os }}
steps:
@ -51,8 +52,8 @@ jobs:
- name: Switch to & checkout benchmark results (gh-pages) repo
uses: actions/checkout@v3
with:
repository: AllanJeremy/luau-benchmark-results
ref: "main"
repository: ${{ matrix.benchmarkResultsRepo.name }}
ref: ${{ matrix.benchmarkResultsRepo.branch }}
path: "./gh-pages"
#Run `github-action-benchmark` action