From a2dfb4aeb445c889fc356a134096fd9fc2bca106 Mon Sep 17 00:00:00 2001 From: Allan Jeremy Date: Tue, 24 May 2022 10:55:32 +0300 Subject: [PATCH] Updated cachegrind run command --- .github/workflows/benchmark-cachegrind.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/benchmark-cachegrind.yml b/.github/workflows/benchmark-cachegrind.yml index 63a814cb..18a5656d 100644 --- a/.github/workflows/benchmark-cachegrind.yml +++ b/.github/workflows/benchmark-cachegrind.yml @@ -47,13 +47,13 @@ jobs: - name: Run benchmark run: | python bench/bench.py | tee ../${{ matrix.bench.script }}-output.txt - ls + ls scripts - name: Run ${{ matrix.bench.title }} (Cold Cachegrind) - run: sudo ./scripts/run-with-cachegrind.sh python bench/bench.py "${{ matrix.bench.cachegrindTitle}}Cold" 1 | tee -a ${{ matrix.bench.script }}-output.txt + 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) - run: sudo ./scripts/run-with-cachegrind.sh python bench/bench.py "${{ matrix.bench.cachegrindTitle }}" ${{ matrix.bench.cachegrindIterCount }} | tee -a ${{ matrix.bench.script }}-output.txt + 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: Navigate to root dir, create gh-pages dir then navigate into it run: cd .. && mkdir gh-pages && cd gh-pages