From 328c63cdcf8e7ad361c3d6ebfe9ba953a6eac3c4 Mon Sep 17 00:00:00 2001 From: Arseny Kapoulkine Date: Thu, 30 Jun 2022 20:53:08 -0700 Subject: [PATCH] Build with both gcc and clang --- .github/workflows/benchmark.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index bbee6224..5c6deb39 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -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