Skip to content
Draft
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions install/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -317,3 +317,27 @@ C:\Users\username>cmake -G"Visual Studio 16 2019" -A Win32 -Thost=x64 -DCMAKE_VE
C:\Users\username>cmake --build . --config Release --target install
C:\Users\username>..\root_install\bin\thisroot.bat
```

# Using ROOT in Gitlab CI/CD

Here is an example on how to add ROOT into a Gitlab CI/CD from CVMFS, provided by one of our user on the [ROOT Forum](https://root-forum.cern.ch/t/gitlab-ci-using-root/57375/9):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Here is an example on how to add ROOT into a Gitlab CI/CD from CVMFS, provided by one of our user on the [ROOT Forum](https://root-forum.cern.ch/t/gitlab-ci-using-root/57375/9):
Here is an example on how to add ROOT into a Gitlab CI/CD from CVMFS, provided by one of our users on the [ROOT Forum](https://root-forum.cern.ch/t/gitlab-ci-using-root/57375/9):


```yml
image: rootproject/root:latest

cmvfs:
stage: build
script:
- echo "CERN CVMFS repository"
- ls -ls /cvmfs/sft.cern.ch/lcg/app/releases/
tags:
- cvmfs

root:
stage: build
script:
- echo -ne "ROOT Version "
- which root
- echo "ROOT Features"
- root-config --features
```