Run Passmark Benchmark #21
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run Passmark Benchmark | |
on: | |
#push: | |
#pull_request: | |
workflow_dispatch: | |
jobs: | |
benchmark-gha-hosted: | |
name: Run Passmark on Github Hosted Runner | |
runs-on: self-hosted | |
steps: | |
# Install dependancies and Download Passmark | |
- name: Install deps | |
run: | | |
sudo apt-get update && \ | |
sudo apt-get install -y zip libncurses5 wget && \ | |
wget https://www.passmark.com/downloads/pt_linux_x64.zip && \ | |
unzip pt_linux_x64.zip | |
shell: bash | |
# Fix permissions | |
- name: Run Benchmark | |
run: | | |
TERM=xterm-256color ./PerformanceTest/pt_linux_x64 -p $(nproc --all) -d 1 -i 1 -r 1 | |
shell: bash | |
# Upload artifact to storage | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: results_all.yml | |
path: ./results_all.yml |