Switched package generation from Ubuntu 16.04 to Debian stretch
the build was successful Detalhes

Esse commit está contido em:
tastytea 2018-11-28 16:29:32 +01:00
commit 75680b3739
Assinado por: tastytea
ID da chave GPG: CFC39497F1B26E07
2 arquivos alterados com 15 adições e 35 exclusões

Ver arquivo

@ -1,36 +1,4 @@
pipeline:
build_package:
image: ubuntu:xenial
pull: true
when:
event: tag
environment:
- LANG=C.utf8
- CXX=g++-5
- CXXFLAGS=-pipe -O2
commands:
- rm /etc/apt/apt.conf.d/docker-clean
- apt-get update -q
- apt-get install -qy g++-5 cmake pkg-config
- apt-get install -qy libcrypto++-dev libmagick++-dev libxdg-basedir-dev
- apt-get install -qy dpkg-dev d-shlibs rpm file wget
- gpg --import /var/autosign_gpg.key
- rm -rf build && mkdir -p build && cd build
- cmake -DCMAKE_INSTALL_PREFIX=/usr ..
- make VERBOSE=1
- make install DESTDIR=install
- make package
- cmake -DWITH_DEB=ON ..
- make package
- cmake -DWITH_DEB=OFF -DWITH_RPM=ON ..
- make package
- gpg --verbose --detach-sign *.tar.gz
- gpg --verbose --detach-sign *.deb
- gpg --verbose --detach-sign *.rpm
volumes:
- /var/cache/debian-package-cache:/var/cache/apt/archives
- /home/tastytea/misc/autosign_gpg.key:/var/autosign_gpg.key
gcc5:
image: debian:stretch-slim
pull: true
@ -61,8 +29,6 @@ pipeline:
gcc6:
image: debian:stretch-slim
pull: true
when:
event: [push, pull_request]
environment:
- LANG=C.utf8
- CXX=g++-6
@ -72,11 +38,23 @@ pipeline:
- apt-get update -q
- apt-get install -qy g++-6 cmake pkg-config
- apt-get install -qy libcrypto++-dev libmagick++-dev libxdg-basedir-dev
- apt-get install -qy dpkg-dev d-shlibs rpm file wget
- gpg --no-tty --import /var/autosign_gpg.key
- rm -rf build && mkdir -p build && cd build
- cmake -DCMAKE_INSTALL_PREFIX=/usr ..
- make VERBOSE=1
- make install DESTDIR=install
- make package
- cmake -DWITH_DEB=ON ..
- make package
- cmake -DWITH_DEB=OFF -DWITH_RPM=ON ..
- make package
- gpg --verbose --detach-sign *.tar.gz
- gpg --verbose --detach-sign *.deb
- gpg --verbose --detach-sign *.rpm
volumes:
- /var/cache/debian-package-cache:/var/cache/apt/archives
- /home/tastytea/misc/autosign_gpg.key:/var/autosign_gpg.key
gcc7:
image: debian:stretch-slim

Ver arquivo

@ -128,9 +128,11 @@ formats:
* rpm
* tar.gz
They are generated on Ubuntu 16.04 64 bit and signed with my
They are generated on Debian Stretch 64 bit and signed with my
[automatic signing key](https://tastytea.de/tastytea_autosign.asc).
Up to and including 0.6.2, the packages were generated on Ubuntu 16.04 64 bit.
### From source
#### Dependencies