Skip to content

Commit

Permalink
Update CI (#12)
Browse files Browse the repository at this point in the history
* Switch to LCG_104 based clic nightlies

Remove no longer existing gcc8 based ones

* Add key4hep based CI workflow
  • Loading branch information
tmadlener authored Jan 15, 2024
1 parent 44de4a7 commit 4b103d0
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 6 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
8 changes: 2 additions & 6 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,8 @@ jobs:
strategy:
fail-fast: false
matrix:
COMPILER: [gcc10, clang11]
LCG: [100]
include:
- COMPILER: gcc8
LCG: 99python2

COMPILER: [gcc11]
LCG: [104]
steps:
- uses: actions/checkout@v2
- uses: cvmfs-contrib/github-action-cvmfs@v2
Expand Down

0 comments on commit 4b103d0

Please sign in to comment.