notcurses/.drone.yml
2019-12-24 04:07:17 -05:00

40 lines
966 B
YAML

---
kind: pipeline
type: docker
name: debian-unstable
steps:
- name: debian-build
image: dankamongmen/unstable_builder:2019-12-18
commands:
- apt-get update
- 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'
- mkdir build
- cd build
- cmake .. -DCMAKE_BUILD_TYPE=Release
- make
- env LANG="en_US.UTF-8" make test
---
kind: pipeline
type: docker
name: ubuntu-focal
steps:
- name: ubuntu-build
image: library/ubuntu:focal
commands:
- apt-get update
- apt-get -y dist-upgrade
- env DEBIAN_FRONTEND=noninteractive apt-get -y install devscripts git-buildpackage equivs 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 .. -DCMAKE_BUILD_TYPE=Release
- make