Mirror ribs #2962
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: linux-lcg | |
on: | |
push: | |
branches: | |
- main | |
tags: | |
- '*' | |
pull_request: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
build-lcg-ubuntu-2004: | |
runs-on: ubuntu-20.04 | |
if: ${{ false }} # Note: disabled until LCG has at least DD4hep 1.21 (LCG_103 or beyond) | |
strategy: | |
fail-fast: false | |
matrix: | |
LCG: ["LCG_101/x86_64-ubuntu2004-gcc9-opt"] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: cvmfs-contrib/github-action-cvmfs@v3 | |
with: | |
cvmfs_repositories: 'sft.cern.ch,geant4.cern.ch' | |
- uses: aidasoft/run-lcg-view@v1 | |
with: | |
release-platform: ${{ matrix.LCG }} | |
run: | | |
PREFIX=${PWD}/install | |
cmake -B build -S . -DCMAKE_INSTALL_PREFIX=${PREFIX} | |
cmake --build build -- install | |
# check geometry | |
source ${PREFIX}/setup.sh | |
checkGeometry -c ${DETECTOR_PATH}/${DETECTOR}.xml | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: build-lcg-ubuntu2004 | |
path: install/ | |
if-no-files-found: error |