This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
magicka/.gitlab-ci.yml
2018-10-19 22:49:10 +11:00

29 lines
658 B
YAML

image: ${CI_REGISTRY}/leenooks/ci-apt:latest
stages:
- build
variables:
VERSION: "0.12"
before_script:
- apt-get update
- apt-get install -y zip unzip dos2unix libbz2-dev zlib1g-dev libgeoip-dev libncurses5-dev libhunspell-dev libsqlite3-dev libreadline-dev libssl1.0-dev libssh-dev libmicrohttpd-dev libdbd-sqlite3-perl libmosquitto-dev m4 sed
- pwd
build:
stage: build
script:
- git archive --format=tar HEAD |gzip -9 > ../${CI_PROJECT_NAME}_${VERSION}.orig.tar.gz
- dpkg-buildpackage -us -uc
- mkdir build
- ls -al ../
- mv ../${CI_PROJECT_NAME}*.deb build
tags:
- apt
only:
- debian
artifacts:
paths:
- build/*deb