30 lines
610 B
YAML
30 lines
610 B
YAML
image: 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
|
|
|
|
build:
|
|
stage: build
|
|
script:
|
|
- set
|
|
- env
|
|
- pwd
|
|
- git archive --output=tar |gzip -9 > ../magicka_${VERSION}.orig.tar.gz
|
|
- dpkg-buildpackage -us -uc
|
|
tags:
|
|
- apt
|
|
only:
|
|
- debian
|
|
|
|
# The files which are to be made available in GitLab
|
|
artifacts:
|
|
paths:
|
|
- build/deb/*
|