From be51f56c9dd15f2965f974322db5bbd9d7a82baf Mon Sep 17 00:00:00 2001 From: Alex Cockrean <84676155+ABenC377@users.noreply.github.com> Date: Thu, 24 Oct 2024 21:37:01 +0100 Subject: [PATCH] Playing with benchmarks script --- .github/actions/simeng_benchmarks/action.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/actions/simeng_benchmarks/action.yml b/.github/actions/simeng_benchmarks/action.yml index a89d2f037b..8ac145dcdc 100644 --- a/.github/actions/simeng_benchmarks/action.yml +++ b/.github/actions/simeng_benchmarks/action.yml @@ -21,10 +21,8 @@ runs: cd ${{ inputs.RUN_DIR }} simeng $GITHUB_WORKSPACE/configs/a64fx.yaml ${{ inputs.BIN_PATH }} 2>&1 | tee $GITHUB_WORKSPACE/simeng.tmp cd $GITHUB_WORKSPACE - echo "just CDed to $GITHUB_WORKSPACE" - pwd - ls - if grep ${{ inputs.PASS_STRING }} --file=$GITHUB_WORKSPACE/simeng.tmp; then + grep ${{ inputs.PASS_STRING }} simeng.tmp | $STRING_FOUND + if $STRING_FOUND; then echo "Passed" else echo "Failed"