Add autopkgtest test in .gitlab-ci.yml
This commit is contained in:
parent
bef05c6f5d
commit
89179afb88
|
@ -20,6 +20,16 @@ before_script:
|
||||||
- sed -i "1{s/-2) /$suffix) /}" debian/changelog
|
- sed -i "1{s/-2) /$suffix) /}" debian/changelog
|
||||||
- sed -i 's/3.0 (quilt)/3.0 (native)/' debian/source/format
|
- sed -i 's/3.0 (quilt)/3.0 (native)/' debian/source/format
|
||||||
|
|
||||||
|
autopkgtest:
|
||||||
|
stage: build
|
||||||
|
image: buildpkg/debian:buster
|
||||||
|
script:
|
||||||
|
- cd $CI_PROJECT_DIR
|
||||||
|
- env DEBIAN_FRONTEND=noninteractive apt-get -q -y install --no-install-recommends aspcud apt-cudf pkg-perl-autopkgtest
|
||||||
|
- env DEBIAN_FRONTEND=noninteractive apt-get -q -y --solver aspcud -o APT::Solver::Strict-Pinning=0 -o Debug::pkgProblemResolver=yes build-dep .
|
||||||
|
- make
|
||||||
|
- make -j8 autopkgtest
|
||||||
|
|
||||||
build_stretch:
|
build_stretch:
|
||||||
image: buildpkg/debian:stretch
|
image: buildpkg/debian:stretch
|
||||||
<<: *job_build
|
<<: *job_build
|
||||||
|
|
Loading…
Reference in New Issue
Block a user