Skip to content

Commit

Permalink
Update CI (#128)
Browse files Browse the repository at this point in the history
* Switch key4hep to key4hep-build action

* Switch clicdp nightlies based workflows to latest stack
  • Loading branch information
tmadlener authored Feb 12, 2024
1 parent c5c492c commit f408091
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 23 deletions.
27 changes: 7 additions & 20 deletions .github/workflows/key4hep.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,27 +5,14 @@ jobs:
build-and-test:
runs-on: ubuntu-latest
strategy:
matrix:
build_type: ["release", "nightly"]
image: ["alma9", "ubuntu22", "centos7"]
fail-fast: false

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/sw-nightlies.hsf.org/key4hep
run: |
mkdir build
cd build
echo "::group::Run CMake"
cmake -GNinja \
-DCMAKE_CXX_FLAGS=" -fdiagnostics-color=always " \
-DCMAKE_CXX_STANDARD=17 \
-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: 3 additions & 3 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ jobs:
strategy:
fail-fast: false
matrix:
COMPILER: [gcc10, clang11]
LCG: [100]
COMPILER: [gcc11]
LCG: [104]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: cvmfs-contrib/github-action-cvmfs@v3
- uses: aidasoft/run-lcg-view@v4
with:
Expand Down

0 comments on commit f408091

Please sign in to comment.