Skip to content

Commit

Permalink
Add key4hep based CI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
tmadlener committed Jan 15, 2024
1 parent 1fe277b commit 93a7306
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/key4hep.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: key4hep

on: [push, pull_request]

jobs:
linux:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- release: "sw.hsf.org/key4hep"
CXX_STANDARD: 17
- release: "sw-nightlies.hsf.org/key4hep"
CXX_STANDARD: 20
steps:
- uses: actions/checkout@v3
- uses: cvmfs-contrib/github-action-cvmfs@v3
- uses: aidasoft/run-lcg-view@v4
with:
container: centos7
view-path: /cvmfs/${{ matrix.release }}
run: |
mkdir build install
cd build
cmake -DCMAKE_CXX_STANDARD=${{ matrix.CXX_STANDARD }} \
-DCMAKE_CXX_FLAGS="-fdiagnostics-color=always " \
-DCMAKE_INSTALL_PREFIX=../install \
-DINSTALL_DOC=ON \
-GNinja \
..
ninja -k0
ctest --output-on-failure
ninja install

0 comments on commit 93a7306

Please sign in to comment.