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:
|
||||
branches:
|
||||
- master
|
||||
- callgrind
|
||||
paths-ignore:
|
||||
- "docs/**"
|
||||
- "papers/**"
|
||||
|
@ -18,8 +19,7 @@ jobs:
|
|||
fail-fast: false
|
||||
matrix:
|
||||
os: [ubuntu-latest]
|
||||
bench:
|
||||
- { title: "Luau Benchmarks (Callgrind)" }
|
||||
compiler: [g++, clang++]
|
||||
benchResultsRepo:
|
||||
- { name: "luau-lang/benchmark-data", branch: "main" }
|
||||
|
||||
|
@ -33,7 +33,7 @@ jobs:
|
|||
sudo apt-get install valgrind
|
||||
|
||||
- name: Build Luau
|
||||
run: make config=release CALLGRIND=1 luau
|
||||
run: CXX=${{ matrix.compiler }} make config=release CALLGRIND=1 luau
|
||||
|
||||
- name: Run benchmark
|
||||
run: |
|
||||
|
@ -50,7 +50,7 @@ jobs:
|
|||
- name: Store results
|
||||
uses: Roblox/rhysd-github-action-benchmark@v-luau
|
||||
with:
|
||||
name: ${{ matrix.bench.title }}
|
||||
name: callgrind ${{ matrix.compiler }}
|
||||
tool: "benchmarkluau"
|
||||
output-file-path: ./output.txt
|
||||
external-data-json-path: ./gh-pages/bench/data.json
|
||||
|
|
Loading…
Add table
Reference in a new issue