added shellmetrics numbers from shellspec/shellmetrics #141
Workflow file for this run
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 benchmarks | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
run-benchmark: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
benchmark: [nlp, file-enc, unix50, log-analysis, max-temp, uniq-ips, media-conv, sklearn, covid-mts, riker, oneliners, web-index] | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Install dependencies | |
run: | | |
sudo apt update && sudo apt install -y --no-install-recommends \ | |
curl wget unzip | |
- name: Set execute permissions for main.sh | |
run: chmod +x main.sh | |
- name: Run Benchmark for ${{ matrix.benchmark }} | |
run: ./main.sh ${{ matrix.benchmark }} --small | |
- name: Upload .out and .err files | |
uses: actions/upload-artifact@v4 | |
if: always() | |
with: | |
name: ${{ matrix.benchmark }}-logs | |
path: ${{ matrix.benchmark }}/${{ matrix.benchmark }}.* | |
if-no-files-found: error |