Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make sure all used names have been declared #58

Merged
merged 2 commits into from
Aug 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 21 additions & 31 deletions .github/workflows/key4hep.yml
Original file line number Diff line number Diff line change
@@ -1,37 +1,27 @@
name: keyh4ep
on: [push, pull_request]
name: Key4hep build

on:
push:
branches:
- main
pull_request:
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
build-and-test:
runs-on: ubuntu-latest
build:
strategy:
fail-fast: false
matrix:
include:
- release: "sw.hsf.org/key4hep"
CXX_STANDARD: 17
- release: "sw-nightlies.hsf.org/key4hep"
CXX_STANDARD: 20

build_type: ["release", "nightly"]
image: ["alma9", "ubuntu22"]
fail-fast: false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: cvmfs-contrib/github-action-cvmfs@v3
- uses: aidasoft/run-lcg-view@v4
- uses: actions/checkout@v4
- uses: key4hep/key4hep-actions/key4hep-build@main
with:
container: centos7
view-path: /cvmfs/${{ matrix.release }}
run: |
mkdir build
cd build
echo "::group::Run CMake"
cmake -GNinja \
-DCMAKE_CXX_FLAGS=" -fdiagnostics-color=always -Werror " \
-DCMAKE_CXX_STANDARD=${{ matrix.CXX_STANDARD }} \
-DCMAKE_INSTALL_PREFIX=../install \
..
echo "::endgroup::" && echo "::group::Build"
ninja -k0
echo "::endgroup::" && echo "::group::Run Tests"
ctest --output-on-failure
echo "::endgroup::" && echo "::group::Install"
ninja install
build_type: ${{ matrix.build_type }}
image: ${{ matrix.image }}
6 changes: 5 additions & 1 deletion source/include/marlin/EventModifier.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
#ifndef EventModifier_h
#define EventModifier_h 1

#include <string>

namespace EVENT{ class LCEvent ; }
namespace EVENT {
class LCEvent ;
class LCRunHeader ;
}

namespace marlin{

Expand Down
Loading