File: .gitlab-ci.yml

package info (click to toggle)
dcmtk 3.6.5-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 54,900 kB
  • sloc: cpp: 274,805; ansic: 47,345; makefile: 5,313; sh: 4,250; perl: 277; xml: 182; lex: 103
file content (15 lines) | stat: -rw-r--r-- 517 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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 && exit 0 || tail -n 100 ../build.log  && exit -1