.gitlab-ci.yml

switch to package builds for CI
parent 79c9d969
......@@ -34,189 +34,6 @@ cache:
paths:
- ccache
.levelN:package: &levelN-package
script:
- cd ${CI_JOB_NAME#level?:*:}
- ./00boot
- ./configure --enable-swig --enable-doxygen --enable-mpi --prefix=${LAL_DIR}
- make dist
- cd ${CI_PROJECT_DIR}
- tar xf ${CI_JOB_NAME#level?:*:}/lal*.tar.xz
- cd lal*-*
- mkdir -p subdir
- cd subdir
- ../configure --enable-swig --enable-doxygen --enable-mpi --prefix=${LAL_DIR}
- make -j4 V=1
- make -j4 V=1 VERBOSE=1 check
- make -j4 install
- make -j4 install-html
artifacts:
expire_in: 18h
paths:
- opt/lalsuite
only:
- pushes
except:
- tags
.levelN:package:stretch: &levelN-package-stretch
image: ligo/lalsuite-dev:stretch
<<: *levelN-package
level0:stretch:lal:
<<: *levelN-package-stretch
stage: level0
level1:stretch:lalframe:
<<: *levelN-package-stretch
stage: level1
dependencies:
- level0:stretch:lal
level1:stretch:lalmetaio:
<<: *levelN-package-stretch
stage: level1
dependencies:
- level0:stretch:lal
level1:stretch:lalsimulation:
<<: *levelN-package-stretch
stage: level1
dependencies:
- level0:stretch:lal
level1:stretch:lalxml:
<<: *levelN-package-stretch
stage: level1
dependencies:
- level0:stretch:lal
level2:stretch:lalburst:
<<: *levelN-package-stretch
stage: level2
dependencies:
- level1:stretch:lalmetaio
- level1:stretch:lalsimulation
level2:stretch:lalinspiral:
<<: *levelN-package-stretch
stage: level2
dependencies:
- level1:stretch:lalframe
- level1:stretch:lalmetaio
- level1:stretch:lalsimulation
level2:stretch:lalpulsar:
<<: *levelN-package-stretch
stage: level2
dependencies:
- level0:stretch:lal
level2:stretch:lalstochastic:
<<: *levelN-package-stretch
stage: level2
dependencies:
- level1:stretch:lalmetaio
level3:stretch:laldetchar:
<<: *levelN-package-stretch
stage: level3
dependencies:
- level2:stretch:lalburst
level3:stretch:lalinference:
<<: *levelN-package-stretch
stage: level3
dependencies:
- level2:stretch:lalburst
- level2:stretch:lalinspiral
- level2:stretch:lalpulsar
level4:stretch:lalapps:
<<: *levelN-package-stretch
stage: level4
dependencies:
- level3:stretch:lalinference
.levelN:package:el7: &levelN-package-el7
image: ligo/lalsuite-dev:el7
<<: *levelN-package
level0:el7:lal:
<<: *levelN-package-el7
stage: level0
level1:el7:lalframe:
<<: *levelN-package-el7
stage: level1
dependencies:
- level0:el7:lal
level1:el7:lalmetaio:
<<: *levelN-package-el7
stage: level1
dependencies:
- level0:el7:lal
level1:el7:lalsimulation:
<<: *levelN-package-el7
stage: level1
dependencies:
- level0:el7:lal
level1:el7:lalxml:
<<: *levelN-package-el7
stage: level1
dependencies:
- level0:el7:lal
level2:el7:lalburst:
<<: *levelN-package-el7
stage: level2
dependencies:
- level1:el7:lalmetaio
- level1:el7:lalsimulation
level2:el7:lalinspiral:
<<: *levelN-package-el7
stage: level2
dependencies:
- level1:el7:lalframe
- level1:el7:lalmetaio
- level1:el7:lalsimulation
level2:el7:lalpulsar:
<<: *levelN-package-el7
stage: level2
dependencies:
- level0:el7:lal
level2:el7:lalstochastic:
<<: *levelN-package-el7
stage: level2
dependencies:
- level1:el7:lalmetaio
level3:el7:laldetchar:
<<: *levelN-package-el7
stage: level3
dependencies:
- level2:el7:lalburst
level3:el7:lalinference:
<<: *levelN-package-el7
stage: level3
dependencies:
- level2:el7:lalburst
- level2:el7:lalinspiral
- level2:el7:lalpulsar
level4:el7:lalapps:
<<: *levelN-package-el7
stage: level4
dependencies:
- level3:el7:lalinference
#
# build rpms
#
......@@ -238,6 +55,7 @@ level4:el7:lalapps:
- rpmbuild/RPMS/x86_64/${CI_JOB_NAME#level?:rpm:}-*.rpm
- rpmbuild/RPMS/x86_64/python2-${CI_JOB_NAME#level?:rpm:}-*.rpm
only:
- pushes
- schedules
- tags
- web
......@@ -426,6 +244,7 @@ docker:tags:el7:
- ${CI_JOB_NAME#level?:deb:}*.dsc
- ${CI_JOB_NAME#level?:deb:}*.orig.*
only:
- pushes
- schedules
- tags
- web
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment