.gitlab-ci.yml 736 Bytes
Newer Older
1
# This is a Dev version of a YAML script for CI of Ph2_ACF Middleware
2
3
# Author: Nikkie Deelen (CERN/KIT)

4
# A build is automatically triggered when a push is made to the remote repository
Nikkie Deelen's avatar
test    
Nikkie Deelen committed
5
6
# CERN's shared runner is used which is configured for Docker with SL6
# sudo is not necessary in docker, every application used needs to be installed first
7

Jeremy Andrea's avatar
Jeremy Andrea committed
8
9


Nikkie Deelen's avatar
Nikkie Deelen committed
10
before_script:
Jeremy Andrea's avatar
Jeremy Andrea committed
11
12
13
14
15
16
 - yum clean all
 - yum install root
 - yum install root-net-http root-graf3d-gl root-physics root-montecarlo-eg root-graf3d-eve root-geom libusb-devel xorg-x11-xauth.x86_64
 - yum install cmake
 - um install boost-devel

17

Nikkie Deelen's avatar
testing    
Nikkie Deelen committed
18
build_Ph2_ACF:
19
 script:
20
21
  - cd build/
  - cmake ..
Nikkie Deelen's avatar
testing    
Nikkie Deelen committed
22
  - make
23
  - cd ..
Jeremy Andrea's avatar
Jeremy Andrea committed
24
  
Nikkie Deelen's avatar
testing    
Nikkie Deelen committed
25
26

after_script:
27
 - source setup.sh
Jeremy Andrea's avatar
Jeremy Andrea committed
28
 - ech "compilation done and source setup"