Skip to content
GitLab
Explore
Sign in
Register
Commits on Source (3)
d/rules: Add nifti lib to link flags
· 2274241e
Gert Wollny
authored
Dec 23, 2018
2274241e
d/.gitlab-ci.yml: Add CI support
· 454aa4f5
Gert Wollny
authored
Dec 23, 2018
454aa4f5
d/rules: Add rule for running tests and change build dir
· c4545893
Gert Wollny
authored
Dec 23, 2018
c4545893
Show whitespace changes
Inline
Side-by-side
debian/.gitlab-ci.yml
0 → 100644
View file @
c4545893
image
:
debian:sid
build
:
stage
:
build
before_script
:
-
apt-get update && apt-get -y install devscripts git-buildpackage
-
mk-build-deps --tool "apt -y -o Debug::pkgProblemResolver=yes --no-install-recommends" --install -r debian/control
script
:
-
git checkout pristine-tar
-
git pull
-
git checkout master
-
git pull
# silence build to not exceed build log size of gitlab-ci
-
gbp buildpackage -uc -us 2>&1 >../build.log
-
tail -n 100 ../build.log
debian/rules
View file @
c4545893
...
...
@@ -4,10 +4,12 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
export DEB_CXXFLAGS_MAINT_APPEND = -fvisibility=hidden
export DEB_LDFLAGS_MAINT_APPEND=-lniftiio
EPOCH_DATE:=$(shell date -u -d ${SOURCE_DATE_EPOCH} +%d.%m.%Y)
%:
dh $@
dh
--builddir=BUILD
$@
binary: binary-arch binary-indep
...
...
@@ -41,6 +43,9 @@ doc: doc-stamp
doc-stamp: help/html/index.html dox/manual/manual.pdf
touch $@
override_dh_auto_test:
LD_LIBRARY_PATH=`pwd`/BUILD/bin dh_auto_test
# build-deps: doxygen, latex, dot
help/html/index.html: help/doxyfile.out
doxygen $<
...
...