drone: build on both debian stable and unstable

This commit is contained in:
nick black 2019-12-24 02:51:01 -05:00
parent dfa6c91257
commit bdecfef3d2
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

View File

@ -1,18 +1,41 @@
---
pipeline:
prep:
image: library/debian:unstable
docker:
tty: true
commands:
- apt-get update
- apt-get -y remove man-db
- apt-get -y install devscripts git-buildpackage locales
- echo 'en_US.UTF-8 UTF-8' > /etc/locale.gen
- locale-gen
- mk-build-deps --install -t'apt-get -y'
- mkdir build
- cd build
- cmake ..
- make
- LANG="en_US.UTF-8" ./notcurses-tester
kind: pipeline
type: docker
name: debian-unstable
steps:
- name: build
image: dankamongmen/unstable_builder:2019-12-18
commands:
- apt-get update
- apt-get -y remove man-db
- apt-get -y dist-upgrade
- apt-get -y install devscripts git-buildpackage locales
- echo 'en_US.UTF-8 UTF-8' > /etc/locale.gen
- locale-gen
- mk-build-deps --install -t'apt-get -y'
- autoreconf -fis
- ./configure
- make
- env LANG="en_US.UTF-8" make check
---
kind: pipeline
type: docker
name: debian-stable
steps:
- name: build
image: library/debian:stable
commands:
- echo 'en_US.UTF-8 UTF-8' > /etc/locale.gen
- apt-get update
- apt-get -y remove man-db
- apt-get -y dist-upgrade
- apt-get -y install devscripts git-buildpackage locales
- echo 'en_US.UTF-8 UTF-8' > /etc/locale.gen
- locale-gen
- mk-build-deps --install -t'apt-get -y'
- autoreconf -fis
- ./configure
- make
- env LANG="en_US.UTF-8" make check