From 73fb80ed482b06e7051392e3cdc2375f80478669 Mon Sep 17 00:00:00 2001 From: Allan Jeremy Date: Thu, 16 Jun 2022 16:13:47 +0300 Subject: [PATCH] debug: modified the if check --- .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 57703de0..9e075471 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -141,16 +141,16 @@ jobs: python bench/bench.py | tee ${{ matrix.bench.script }}-output.txt - name: Install valgrind - if: ${{ matrix.os }} == "ubuntu-latest" + if: ${{ matrix.os }} == ubuntu-latest run: | sudo apt-get install valgrind - name: Run ${{ matrix.bench.title }} (Cold Cachegrind) - if: ${{ matrix.os }} == "ubuntu-latest" + if: ${{ matrix.os }} == ubuntu-latest run: sudo bash ./scripts/run-with-cachegrind.sh python ./bench/bench.py "${{ matrix.bench.cachegrindTitle}}Cold" 1 | tee -a ${{ matrix.bench.script }}-output.txt - name: Run ${{ matrix.bench.title }} (Warm Cachegrind) - if: ${{ matrix.os }} == "ubuntu-latest" + if: ${{ matrix.os }} == ubuntu-latest run: sudo bash ./scripts/run-with-cachegrind.sh python ./bench/bench.py "${{ matrix.bench.cachegrindTitle }}" ${{ matrix.bench.cachegrindIterCount }} | tee -a ${{ matrix.bench.script }}-output.txt - name: Checkout Benchmark Results repository @@ -177,7 +177,7 @@ jobs: - name: Store ${{ matrix.bench.title }} result (CacheGrind) uses: Roblox/rhysd-github-action-benchmark@v-luau - if: ${{ matrix.os }} == "ubuntu-latest" + if: ${{ matrix.os }} == ubuntu-latest with: name: ${{ matrix.bench.title }} (CacheGrind) tool: "roblox"