-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (39 loc) · 1.19 KB
/
soa-benchmark.yml
File metadata and controls
41 lines (39 loc) · 1.19 KB
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
40
41
name: run benchmark
on:
workflow_dispatch:
push:
branches:
- 'main'
jobs:
soa-benchmark:
runs-on: cern-nextgen-h100
container: registry.cern.ch/ngt-wp1.7/wp1.7-soa-benchmark:latest
steps:
- uses: actions/checkout@v4
- name: build and compile
run: |
cmake -B ${{github.workspace}}
cmake --build ${{github.workspace}}
- name: run benchmarks
run: |
python3 plot.py ${{github.workspace}}
echo "Files in Workspace Directory:"
ls -l ${{github.workspace}}
- name: collect artifacts
run: |
mkdir soa-benchmark-results
mv ${{github.workspace}}/*.png soa-benchmark-results/
mv ${{github.workspace}}/*.json soa-benchmark-results/
echo "Files in Results Directory:"
ls -l soa-benchmark-results
- name: upload results
uses: actions/upload-artifact@v4
with:
name: soa-benchmark-results
path: soa-benchmark-results
# - name: run soa_wrapper
# run: |
# ${{github.workspace}}/build/soa_wrapper
# - name: run soa_boost
# run: |
# ${{github.workspace}}/build/soa_boost