Skip to content

Trigger on push

Trigger on push #13

Workflow file for this run

name: run benchmark

Check failure on line 1 in .github/workflows/soa-benchmark.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/soa-benchmark.yml

Invalid workflow file

`on` is not a valid event name
on:
workflow_dispatch:
on:
push:
branches:
- plot_ci
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}}/build
cmake --build ${{github.workspace}}/build
- name: run benchmarks
run: |
python3 plot.py ${{github.workspace}}/build
- name: upload results
uses: actions/upload-artifact@v4
with:
path: ${{github.workspace}}/build/*.png
# - name: run soa_wrapper
# run: |
# ${{github.workspace}}/build/soa_wrapper
# - name: run soa_boost
# run: |
# ${{github.workspace}}/build/soa_boost