-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (37 loc) · 1.12 KB
/
ci-experiments.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
39
name: Run experiments
on:
push:
branches:
- main
pull_request:
jobs:
run-experiments:
runs-on: ubuntu-latest
container: ghcr.io/nazavode/snitch-toolchain:2.3
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Run experiments
run: scripts/run.sh --abort-on-error --tag cirun
#- name: PR comment with CSV file
#uses: thollander/actions-comment-pull-request@v2
#with:
#filePath: results/cycles_cirun.csv
- name: Read CSV
id: csv
uses: juliangruber/read-file-action@v1
with:
path: results/cycles_cirun.csv
- name: Create MD
uses: petems/csv-to-md-table-action@master
id: csv-table-output
with:
csvinput: ${{ steps.csv.outputs.content }}
- uses: mshick/add-pr-comment@v1
with:
message: |
${{steps.csv-table-output.outputs.markdown-table}}
repo-token: ${{ secrets.GITHUB_TOKEN }}
repo-token-user-login: 'github-actions[bot]' # The user.login for temporary GitHub tokens
allow-repeats: true