Skip to content

Commit

Permalink
Test against multiple root versions (GenFit#128)
Browse files Browse the repository at this point in the history
* Update cmake.yml to test against multiple root versions
  • Loading branch information
eckerpatrick authored Dec 11, 2023
1 parent 1ad38e5 commit 6c1fce8
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,14 @@ name: Build and Test

on: [push, pull_request]

env:
ROOT_VERSION: root_v6.24.06.Linux-ubuntu20-x86_64-gcc9.3.tar.gz

jobs:
build:
runs-on: ubuntu-20.04

strategy:
matrix:
ROOT_VERSION: [root_v6.24.06.Linux-ubuntu20-x86_64-gcc9.3.tar.gz, root_v6.30.02.Linux-ubuntu20.04-x86_64-gcc9.4.tar.gz]

steps:
- uses: actions/checkout@v3

Expand All @@ -23,8 +24,8 @@ jobs:
- name: Install root
run: |
wget https://root.cern.ch/download/${ROOT_VERSION}
tar xzf ${ROOT_VERSION}
wget https://root.cern.ch/download/${{ matrix.ROOT_VERSION }}
tar xzf ${{ matrix.ROOT_VERSION }}
source root/bin/thisroot.sh
- name: Build GenFit
Expand All @@ -39,5 +40,3 @@ jobs:
source root/bin/thisroot.sh
cd ${{github.workspace}}/../build
ctest --output-on-failure

0 comments on commit 6c1fce8

Please sign in to comment.