mirror of
https://github.com/luau-lang/luau.git
synced 2025-05-04 10:33:46 +01:00
Build with both gcc and clang
This commit is contained in:
parent
f04b8c797d
commit
328c63cdcf
1 changed files with 4 additions and 4 deletions
8
.github/workflows/benchmark.yml
vendored
8
.github/workflows/benchmark.yml
vendored
|
@ -4,6 +4,7 @@ on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
|
- callgrind
|
||||||
paths-ignore:
|
paths-ignore:
|
||||||
- "docs/**"
|
- "docs/**"
|
||||||
- "papers/**"
|
- "papers/**"
|
||||||
|
@ -18,8 +19,7 @@ jobs:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest]
|
os: [ubuntu-latest]
|
||||||
bench:
|
compiler: [g++, clang++]
|
||||||
- { title: "Luau Benchmarks (Callgrind)" }
|
|
||||||
benchResultsRepo:
|
benchResultsRepo:
|
||||||
- { name: "luau-lang/benchmark-data", branch: "main" }
|
- { name: "luau-lang/benchmark-data", branch: "main" }
|
||||||
|
|
||||||
|
@ -33,7 +33,7 @@ jobs:
|
||||||
sudo apt-get install valgrind
|
sudo apt-get install valgrind
|
||||||
|
|
||||||
- name: Build Luau
|
- name: Build Luau
|
||||||
run: make config=release CALLGRIND=1 luau
|
run: CXX=${{ matrix.compiler }} make config=release CALLGRIND=1 luau
|
||||||
|
|
||||||
- name: Run benchmark
|
- name: Run benchmark
|
||||||
run: |
|
run: |
|
||||||
|
@ -50,7 +50,7 @@ jobs:
|
||||||
- name: Store results
|
- name: Store results
|
||||||
uses: Roblox/rhysd-github-action-benchmark@v-luau
|
uses: Roblox/rhysd-github-action-benchmark@v-luau
|
||||||
with:
|
with:
|
||||||
name: ${{ matrix.bench.title }}
|
name: callgrind ${{ matrix.compiler }}
|
||||||
tool: "benchmarkluau"
|
tool: "benchmarkluau"
|
||||||
output-file-path: ./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
|
||||||
|
|
Loading…
Add table
Reference in a new issue