Switched package generation from Ubuntu 16.04 to Debian stretch
the build was successful
Details
the build was successful
Details
This commit is contained in:
parent
e9456be931
commit
75680b3739
46
.drone.yml
46
.drone.yml
|
@ -1,36 +1,4 @@
|
||||||
pipeline:
|
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:
|
gcc5:
|
||||||
image: debian:stretch-slim
|
image: debian:stretch-slim
|
||||||
pull: true
|
pull: true
|
||||||
|
@ -61,8 +29,6 @@ pipeline:
|
||||||
gcc6:
|
gcc6:
|
||||||
image: debian:stretch-slim
|
image: debian:stretch-slim
|
||||||
pull: true
|
pull: true
|
||||||
when:
|
|
||||||
event: [push, pull_request]
|
|
||||||
environment:
|
environment:
|
||||||
- LANG=C.utf8
|
- LANG=C.utf8
|
||||||
- CXX=g++-6
|
- CXX=g++-6
|
||||||
|
@ -72,11 +38,23 @@ pipeline:
|
||||||
- apt-get update -q
|
- apt-get update -q
|
||||||
- apt-get install -qy g++-6 cmake pkg-config
|
- apt-get install -qy g++-6 cmake pkg-config
|
||||||
- apt-get install -qy libcrypto++-dev libmagick++-dev libxdg-basedir-dev
|
- 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
|
- rm -rf build && mkdir -p build && cd build
|
||||||
- cmake -DCMAKE_INSTALL_PREFIX=/usr ..
|
- cmake -DCMAKE_INSTALL_PREFIX=/usr ..
|
||||||
- make VERBOSE=1
|
- 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:
|
volumes:
|
||||||
- /var/cache/debian-package-cache:/var/cache/apt/archives
|
- /var/cache/debian-package-cache:/var/cache/apt/archives
|
||||||
|
- /home/tastytea/misc/autosign_gpg.key:/var/autosign_gpg.key
|
||||||
|
|
||||||
gcc7:
|
gcc7:
|
||||||
image: debian:stretch-slim
|
image: debian:stretch-slim
|
||||||
|
|
|
@ -128,9 +128,11 @@ formats:
|
||||||
* rpm
|
* rpm
|
||||||
* tar.gz
|
* 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).
|
[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
|
### From source
|
||||||
|
|
||||||
#### Dependencies
|
#### Dependencies
|
||||||
|
|
Loading…
Reference in New Issue