-
Notifications
You must be signed in to change notification settings - Fork 2
38 lines (31 loc) · 1002 Bytes
/
tests.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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