From 206969db5914d5e8ce21799735fd516997d5a1e0 Mon Sep 17 00:00:00 2001 From: Thomas Madlener Date: Thu, 10 Sep 2026 10:53:07 +0200 Subject: [PATCH] Switch to latest version of key4hep-build workflow Co-Authored-By: Claude Opus 5 --- .github/workflows/key4hep.yml | 43 ++++++++++++++++++++++++++--------- 1 file changed, 32 insertions(+), 11 deletions(-) diff --git a/.github/workflows/key4hep.yml b/.github/workflows/key4hep.yml index 7bab3c9e..8c6e1d02 100644 --- a/.github/workflows/key4hep.yml +++ b/.github/workflows/key4hep.yml @@ -1,28 +1,49 @@ -name: Key4hep build +# Do not edit this file, it will be overwritten! +# The template file can be found in +# https://github.com/key4hep/key4hep-actions/blob/main/workflows/key4hep-build.yaml +name: Key4hep build on: push: branches: - - master + - master pull_request: workflow_dispatch: schedule: - - cron: 16 4 * * 1 + - cron: "16 4 * * *" + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true jobs: build: - runs-on: ubuntu-latest strategy: - fail-fast: false matrix: build_type: ["release", "nightly"] image: ["alma9"] include: - - build_type: "nightly" + - build_type: nightly image: ubuntu24 + - build_type: nightly + image: ubuntu26 + fail-fast: false + runs-on: ubuntu-latest + container: + image: ghcr.io/key4hep/key4hep-images/${{ matrix.image }}-cvmfs + options: --privileged + volumes: + - /home/runner/.cache/ccache:/root/.cache/ccache + defaults: + run: + shell: bash steps: - - uses: actions/checkout@v5 - - uses: key4hep/key4hep-actions/key4hep-build@main - with: - build_type: ${{ matrix.build_type }} - image: ${{ matrix.image }} + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 #v7.0.1 + - name: Mount CVMFS + run: /mount.sh + - uses: key4hep/key4hep-actions/cache-external-data@main + - uses: key4hep/key4hep-actions/key4hep-build@main + with: + build_type: ${{ matrix.build_type }} + image: ${{ matrix.image }} + stack: ${{ matrix.stack }}