diff --git a/.github/workflows/linux-lcg.yml b/.github/workflows/linux-lcg.yml index 73a8ccc9c1eb0807e1838f636211b74f6e899826..d2044a295ddadc0628d67cef5a6d5bd3063e4d77 100644 --- a/.github/workflows/linux-lcg.yml +++ b/.github/workflows/linux-lcg.yml @@ -3,13 +3,12 @@ name: linux-lcg on: [push, pull_request] jobs: - ubuntu-2004: + build-lcg-ubuntu-2004: runs-on: ubuntu-20.04 strategy: fail-fast: false matrix: - LCG: ["LCG_101/x86_64-ubuntu2004-gcc9-opt", - "LCG_99/x86_64-ubuntu2004-gcc9-opt"] + LCG: ["LCG_101/x86_64-ubuntu2004-gcc9-opt"] steps: - uses: actions/checkout@v2 - uses: cvmfs-contrib/github-action-cvmfs@v2 @@ -19,24 +18,14 @@ jobs: with: release-platform: ${{ matrix.LCG }} run: | - cmake -B build -S . + PREFIX=install + cmake -B build -S . -DCMAKE_INSTALL_PREFIX=${PREFIX} cmake --build build -- install - - ubuntu-2204: - runs-on: ubuntu-22.04 - strategy: - fail-fast: false - matrix: - LCG: ["LCG_101/x86_64-ubuntu2004-gcc9-opt", - "LCG_99/x86_64-ubuntu2004-gcc9-opt"] - steps: - - uses: actions/checkout@v2 - - uses: cvmfs-contrib/github-action-cvmfs@v2 + # check geometry + source ${PREFIX}/setup.sh + checkGeometry -c ${BEAMLINE_PATH}/${BEAMLINE}.xml + - uses: actions/upload-artifact@v3 with: - cvmfs_repositories: 'sft.cern.ch,geant4.cern.ch' - - uses: aidasoft/run-lcg-view@v1 - with: - release-platform: ${{ matrix.LCG }} - run: | - cmake -B build -S . - cmake --build build -- install + name: build-lcg-ubuntu2004 + path: install/ + if-no-files-found: error