Skip to content
Snippets Groups Projects
Commit 2e652127 authored by Adrien Matta's avatar Adrien Matta :skull_crossbones:
Browse files

Add .gitlab-ci.yml

parent b5fec530
No related branches found
No related tags found
No related merge requests found
Pipeline #43924 failed
# Specify the docker image to use (only used if using docker runners)
# See: http://doc.gitlab.com/ee/ci/docker/using_docker_images.html
image: ubuntu:18.04
before_script:
- apt-get update --yes
- apt-get install --yes gcc g++ cmake ninja-build libafterimage0
- wget -q https://root.cern.ch/download/root_v6.14.00.Linux-ubuntu14-x86_64-gcc4.8.tar.gz
- tar -xf root_v6.14.00.Linux-ubuntu14-x86_64-gcc4.8.tar.gz
- source ~/root/bin/thisroot.sh
- wget -q https://www.dropbox.com/s/8hxjkd6twdsv5fi/geant4_install_new.tar.gz
- tar -xf geant4_install_new.tar.gz
- source ~/geant4_install/share/Geant4-10.1.2/geant4make/geant4make.sh
artifacts:
paths:
- root
- geant4_install
expire_in: 1 hour
stages:
- build-NPLib
- build-NPSimulation
- test
building-NPLib:
stage: build-NPLib
script:
- cd $NPTOOL/NPLib
- cmake -GNinja ./
- ninja install
artifacts:
paths:
- lib
- include
- bin
expire_in: 1 hour
building-NPSimulation:
stage: build-NPSimulation
script:
- cd $NPTOOL/NPSimulation
- cmake -GNinja ./
- ninja install
artifacts:
paths:
- lib
- include
- bin
expire_in: 1 hour
testing:
stage: test
script:
- ./scripts/RootLogon.sh
- ./scripts/test/all.sh
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment