Skip to content

Commit

Permalink
Playing with benchmarks script
Browse files Browse the repository at this point in the history
  • Loading branch information
ABenC377 committed Oct 25, 2024
1 parent fdd0c7a commit c27b21b
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 24 deletions.
22 changes: 6 additions & 16 deletions .github/actions/simeng_benchmarks/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,22 +20,12 @@ runs:
run: |
cd ${{ inputs.RUN_DIR }}
simeng $GITHUB_WORKSPACE/configs/a64fx.yaml ${{ inputs.BIN_PATH }} 2>&1 tee $GITHUB_WORKSPACE/simeng.tmp
python -c "
import os
file_path = $GITHUB_WORKSPACE/simeng.tmp
if not os.path.exists(file_path):
print(f'File not found: {file_path}')
exit(1)
with open(file_path, 'r') as f:
if ${{ inputs.PASS_STRING }} in f.read():
print('Passed')
else:
print('Failed')
exit(1)
"
if contains(${{ inputs.PASS_STRING }}, $GITHUB_WORKSPACE/simeng.tmp); then
echo "Passed"
else
echo "Failed"
exit(1)
fi
#
# "name": "CloverLeaf serial gcc8.3.0 armv8.4",
# "run_from": "$SIMENG_BENCHMARKS_SRC_DIR/Data_Files/CloverLeaf",
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/LINUX_BUILD_TEST.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ jobs:
fail-fast: false
matrix:

COMPILER: ['gcc-7']# , 'gcc-8', 'gcc-9', 'gcc-10'] # armclang ] compiler names
OS: ['ubuntu:18.04']#,'ubuntu:20.04', 'rockylinux:8', 'redhat/ubi8:latest', 'redhat/ubi9:latest', 'debian:10', 'debian:11'] # Docker images
COMPILER: ['gcc-7' , 'gcc-8', 'gcc-9', 'gcc-10'] # armclang ] compiler names
OS: ['ubuntu:18.04','ubuntu:20.04', 'rockylinux:8', 'redhat/ubi8:latest', 'redhat/ubi9:latest', 'debian:10', 'debian:11'] # Docker images

#######################################
# Removes unecessary jobs as jobs are generated in the order seen in the matrix.
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/MAIN.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@ jobs:
SIMENG-MODE: Release
secrets: inherit

# RELEASE_MACOS:
# name: "Release - build, test and benchmarks"
# uses: ./.github/workflows/MACOS_BUILD_TEST.yml
# with:
# SIMENG-MODE: Release
# secrets: inherit
RELEASE_MACOS:
name: "Release - build, test and benchmarks"
uses: ./.github/workflows/MACOS_BUILD_TEST.yml
with:
SIMENG-MODE: Release
secrets: inherit


0 comments on commit c27b21b

Please sign in to comment.