Skip to content

Commit 78981c1

Browse files
committed
Also run with GCC in CI
1 parent d44ff45 commit 78981c1

File tree

3 files changed

+43
-4
lines changed

3 files changed

+43
-4
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: run benchmark
1+
name: run benchmark Clang
22

33
on:
44
workflow_dispatch:
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: run benchmark Clang
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
branches:
7+
- 'main'
8+
9+
jobs:
10+
soa-benchmark:
11+
runs-on: cern-nextgen-h100
12+
container: registry.cern.ch/ngt-wp1.7/wp1.7-soa-benchmark:latest
13+
steps:
14+
- uses: actions/checkout@v4
15+
- name: build and compile
16+
run: |
17+
cmake -DCMAKE_CXX_COMPILER=g++ -DCMAKE_C_COMPILER=gcc -B ${{github.workspace}}
18+
cmake --build ${{github.workspace}}
19+
- name: run benchmarks
20+
run: |
21+
python3 run_benchmarks.py ${{github.workspace}} soa_versions.csv
22+
python3 plot_benchmarks.py ${{github.workspace}} soa_versions.csv
23+
echo "Files in Workspace Directory:"
24+
ls -l ${{github.workspace}}
25+
- name: collect artifacts
26+
run: |
27+
mkdir soa-benchmark-results
28+
mv ${{github.workspace}}/*.png soa-benchmark-results/
29+
mv ${{github.workspace}}/*.json soa-benchmark-results/
30+
echo "Files in Results Directory:"
31+
ls -l soa-benchmark-results
32+
- name: upload results
33+
uses: actions/upload-artifact@v4
34+
with:
35+
name: soa-benchmark-results
36+
path: soa-benchmark-results
37+
# - name: run soa_wrapper
38+
# run: |
39+
# ${{github.workspace}}/build/soa_wrapper
40+
# - name: run soa_boost
41+
# run: |
42+
# ${{github.workspace}}/build/soa_boost

.github/workflows/soa-benchmark-vtune.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@ name: run benchmark with vtune
22

33
on:
44
workflow_dispatch:
5-
push:
6-
branches:
7-
- 'main'
85

96
jobs:
107
soa-benchmark:

0 commit comments

Comments
 (0)