diff options
-rw-r--r-- | .gitlab-ci.yml | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 004a983..a9680b9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,19 +2,26 @@ debian: image: debian:stable script: + # Configure pbuilder + - echo 'DISTRIBUTION=sid' > /etc/pbuilderrc + - echo 'MIRRORSITE=http://http.debian.net/debian/' >> /etc/pbuilderrc + + # Install dependencies - apt-get update - apt-get install -y git - apt-get install -y git-buildpackage lintian piuparts - - echo 'DISTRIBUTION=sid' > ~/.pbuilderrc - - echo 'MIRRORSITE="ftp.us.debian.org/debian"' >> ~/.pbuilderrc + + # Build the package - git checkout debian - gbp buildpackage --git-ignore-new + + # Run lintian and piuparts #- lintian --allow-root -v --pedantic ../keyringer_*.deb #- piuparts ../keyringer*.deb + + # Save artifacts #- mkdir -p dist #- mv ../onionprobe_* dist artifacts: paths: - dist - #only: - # - main |