Skip to content
Snippets Groups Projects
Commit 101a5951 authored by Whitney Armstrong's avatar Whitney Armstrong
Browse files

CI build improvement.

I couldn't figure out how to source scripts in the gitlab ci yaml file
so I had to create a "do_build" script which does everything.

	modified:   .gitlab-ci.yml
	new file:   bin/do_build
parent 1baa17bf
No related branches found
No related tags found
1 merge request!22Ci improvement
image: whit2333/dd4hep-base:latest image: whit2333/dd4hep-base:latest
stages: before_script:
- build - pwd
- test - ls -lrth /usr/local/bin
test: # Try to compile our sample hello world app
stage: test compile:
script: echo "Running tests" image: whit2333/dd4hep-base:latest
build:
stage: build
script: script:
- mkdir install - ./bin/do_build
- mkdir build # - . /usr/local/bin/thisroot.sh
- cd build # - . /usr/local/bin/thisdd4hep.sh
- cmake .. -DCMAKE_INSTALL_PREFIX=../install # - . /usr/local/bin/geant4.sh
- make -j4 install # - mkdir install
# - mkdir build
# - cd build
# - cmake .. -DCMAKE_INSTALL_PREFIX=../install
# - make -j4
job2:
script: "ls -lrth"
#!/bin/bash
ps
source /usr/local/bin/thisroot.sh
source /usr/local/bin/thisdd4hep.sh
source /usr/local/bin/geant4.sh
mkdir install
mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=../install
make -j4
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment