Add automatic package generation for Debian bullseye (11).
This commit is contained in:
parent
226b66b77b
commit
4b09158037
25
.drone.yml
25
.drone.yml
|
@ -112,6 +112,30 @@ trigger:
|
|||
- tag
|
||||
|
||||
steps:
|
||||
- name: Debian bullseye
|
||||
image: debian:bullseye-slim
|
||||
pull: always
|
||||
environment:
|
||||
CXX: g++-10
|
||||
CXXFLAGS: -pipe -O2
|
||||
DEBIAN_FRONTEND: noninteractive
|
||||
LANG: C.UTF-8
|
||||
commands:
|
||||
- rm /etc/apt/apt.conf.d/docker-clean
|
||||
- alias apt-get='rm -f /var/cache/apt/archives/lock && apt-get'
|
||||
- apt-get update -q
|
||||
- apt-get install -qq build-essential cmake clang locales lsb-release
|
||||
- apt-get install -qq libboost-program-options-dev libboost-locale-dev libboost-regex-dev libboost-log-dev gettext libarchive-dev libfmt-dev asciidoc libpugixml-dev nlohmann-json3-dev
|
||||
- rm -rf build && mkdir -p build && cd build
|
||||
- cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX=/usr ..
|
||||
- make VERBOSE=1
|
||||
- make install DESTDIR=install
|
||||
- cpack -G DEB
|
||||
- cp -v epubgrep_${DRONE_TAG}-0_amd64_bullseye.deb ..
|
||||
volumes:
|
||||
- name: debian-package-cache
|
||||
path: /var/cache/apt/archives
|
||||
|
||||
- name: Debian buster
|
||||
image: debian:buster-slim
|
||||
pull: always
|
||||
|
@ -208,6 +232,7 @@ steps:
|
|||
prerelease: true
|
||||
files:
|
||||
- epubgrep_${DRONE_TAG}-0_amd64_buster.deb
|
||||
- epubgrep_${DRONE_TAG}-0_amd64_bullseye.deb
|
||||
- epubgrep_${DRONE_TAG}-0_amd64_focal.deb
|
||||
- epubgrep_${DRONE_TAG}-0_amd64_bionic.deb
|
||||
checksum:
|
||||
|
|
Loading…
Reference in New Issue
Block a user