This commit is contained in:
Deon George 2018-10-25 09:35:29 +11:00
parent fb8276b5b8
commit 3492134b8b
2 changed files with 10 additions and 4 deletions

View File

@ -6,14 +6,15 @@ 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
- env|sort
- pwd
build:x86_64:
image: ${CI_REGISTRY}/leenooks/ci-apt:x86_64
stage: build
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
- git archive --format=tar HEAD |gzip -9 > ../${CI_PROJECT_NAME}_${VERSION}.orig.tar.gz
- dpkg-buildpackage -us -uc
- mkdir build
@ -34,7 +35,6 @@ deploy:x86_64:
dependencies:
- build:x86_64
script:
- env|sort
- reprepro -b /apt includedeb $(awk -F"[)(]+" '/VERSION=/ {print $2}' /etc/os-release) build/${CI_PROJECT_NAME}_${VERSION}*.deb
tags:
- reprepro
@ -43,6 +43,8 @@ build:armv7l:
image: ${CI_REGISTRY}/leenooks/ci-apt:armv7l
stage: build
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
- git archive --format=tar HEAD |gzip -9 > ../${CI_PROJECT_NAME}_${VERSION}.orig.tar.gz
- dpkg-buildpackage -us -uc
- mkdir build
@ -63,7 +65,6 @@ deploy:armv7l:
dependencies:
- build:armv7l
script:
- env|sort
- reprepro -b /apt includedeb $(awk -F"[)(]+" '/VERSION=/ {print $2}' /etc/os-release) build/${CI_PROJECT_NAME}_${VERSION}*.deb
tags:
- reprepro

5
debian/changelog vendored
View File

@ -1,3 +1,8 @@
magicka (0.12-2) UNRELEASED; urgency=low
* Pull Commiet 03c8db5
-- Deon George <deon@leenooks.net> Thu, 25 Oct 2018 09:30:00 +1100
magicka (0.12-1) UNRELEASED; urgency=low
* Initial release.