Skip to content

Commit

Permalink
Create github actions based CI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
tmadlener committed Dec 2, 2022
1 parent efc61fd commit 9c16cac
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: linux
on: [push, pull_request]

jobs:
centos7:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
COMPILER: [gcc10, clang11]
LCG: [100]

steps:
- uses: actions/checkout@v3
- uses: cvmfs-contrib/github-action-cvmfs@v3
- uses: aidasoft/run-lcg-view@v4
with:
view-path: "/cvmfs/clicdp.cern.ch/iLCSoft/lcg/${{ matrix.LCG }}/nightly/x86_64-centos7-${{ matrix.COMPILER }}-opt"
setup-script: "init_ilcsoft.sh"
run: |
mkdir build
cd build
cmake -GNinja -C ${ILCSOFT}/ILCSoft.cmake -DCMAKE_CXX_FLAGS=" -fdiagnostics-color=always " ..
ninja -k0
ctest --output-on-failure
ninja install

0 comments on commit 9c16cac

Please sign in to comment.