summaryrefslogtreecommitdiffstats
path: root/debian/.gitlab-ci.yml
blob: 1f019b60b650598a518916a225d9f034ff82a0fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
image: debian:sid

variables:
  PKG: debootstrap

stages:
   - build
#   - autopkgtest

package_build:
  stage: build
  script:
    - apt update -qq
    - apt build-dep ./ -y -qq
    - apt install -y -qq dpkg-dev devscripts
    - dpkg-buildpackage -us -uc
    - mkdir build && cd ../ && ls -al && dcmd ./${PKG}_*.changes mv ${PKG}/build/
  artifacts:
    paths:
      - build/*

#autopkgtest:
#  stage: autopkgtest
#  script:
#    - apt update -qq
#    - apt install -y -qq autopkgtest
#    - autopkgtest build/*.changes -- null
#  dependencies:
#    - package_build