Commit 238c4dce authored by Adam Mercer's avatar Adam Mercer
Browse files

add nightly debian package builds


Co-authored-by: Leo Pound Singer's avatarLeo Singer <leo.singer@ligo.org>

[ci skip]
parent fabdcc32
......@@ -607,6 +607,135 @@ level4:rpm:lalapps:
- level2:rpm:lalstochastic
- level3:rpm:lalinference
.levelN:deb: &levelN-deb-package
image: ligo/lalsuite-dev:stretch
script:
# install debs from artifacts
- dpkg -i *.deb || true
# make dist tarball
- cd ${CI_JOB_NAME#level?:deb:}
- ./00boot
- ./configure --enable-swig --enable-nightly
- make dist
# create orig tarball
- PACKAGE=$(echo ${CI_JOB_NAME} | sed 's/.*://')
- TARBALL="${PACKAGE}-*.tar.*"
- SUFFIX=$(echo $TARBALL | sed 's/.*\.\(tar\..*\)/\1/')
- VERSION=$(echo $TARBALL | sed 's/[^-]*-\(.*\)\.tar\..*/\1/' | tr '-' '~')
- cd ${CI_PROJECT_DIR}
- cp ${CI_JOB_NAME#level?:deb:}/${TARBALL} ${PACKAGE}_${VERSION}.orig.${SUFFIX}
# update changelog
- export DEBFULLNAME="GitLab"
- export DEBEMAIL="gitlab@git.ligo.org"
- tar xf ${CI_JOB_NAME#level?:deb:}/${TARBALL}
- cd ${PACKAGE}-*
- dch -v ${VERSION}-1 'Rebuilt automatically on git.ligo.org CI'
# build packages
- debuild -us -uc -r
artifacts:
expire_in: 3h
paths:
- ${CI_JOB_NAME#level?:deb:}*.changes
- ${CI_JOB_NAME#level?:deb:}*.deb
- ${CI_JOB_NAME#level?:deb:}*.dsc
- ${CI_JOB_NAME#level?:deb:}*.orig.*
only:
- schedules
- web
level0:deb:lal:
<<: *levelN-deb-package
stage: level0
level1:deb:lalframe:
<<: *levelN-deb-package
stage: level1
dependencies:
- level0:deb:lal
level1:deb:lalmetaio:
<<: *levelN-deb-package
stage: level1
dependencies:
- level0:deb:lal
level1:deb:lalsimulation:
<<: *levelN-deb-package
stage: level1
dependencies:
- level0:deb:lal
level1:deb:lalxml:
<<: *levelN-deb-package
stage: level1
dependencies:
- level0:deb:lal
level2:deb:lalburst:
<<: *levelN-deb-package
stage: level2
dependencies:
- level0:deb:lal
- level1:deb:lalmetaio
- level1:deb:lalsimulation
level2:deb:lalinspiral:
<<: *levelN-deb-package
stage: level2
dependencies:
- level0:deb:lal
- level1:deb:lalframe
- level1:deb:lalmetaio
- level1:deb:lalsimulation
level2:deb:lalpulsar:
<<: *levelN-deb-package
stage: level2
dependencies:
- level0:deb:lal
level2:deb:lalstochastic:
<<: *levelN-deb-package
stage: level2
dependencies:
- level0:deb:lal
- level1:deb:lalmetaio
level3:deb:laldetchar:
<<: *levelN-deb-package
stage: level3
dependencies:
- level0:deb:lal
- level1:deb:lalmetaio
- level1:deb:lalsimulation
- level2:deb:lalburst
level3:deb:lalinference:
<<: *levelN-deb-package
stage: level3
dependencies:
- level0:deb:lal
- level1:deb:lalframe
- level1:deb:lalmetaio
- level1:deb:lalsimulation
- level2:deb:lalburst
- level2:deb:lalinspiral
- level2:deb:lalpulsar
level4:deb:lalapps:
<<: *levelN-deb-package
stage: level4
dependencies:
- level0:deb:lal
- level1:deb:lalframe
- level1:deb:lalmetaio
- level1:deb:lalsimulation
- level2:deb:lalburst
- level2:deb:lalinspiral
- level2:deb:lalpulsar
- level2:deb:lalstochastic
- level3:deb:lalinference
pages:
image: ligo/lalsuite-dev:stretch
stage: nightly
......
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