notcurses/.drone.yml
Nick Black 415d4b813f
Tight work on unit testing, controlling tty vs output fd (#758)
* Some things go to the FILE* we're provided. Some can only go to a controlling terminal. Check to see if the FILE we're given is a TTY. If not, open up /dev/tty #752.
* term_emit(): fflush() can return EAGAIN. Loop on it to eliminate a rare error on shutdown that particularly affected unit tests (where we start and shut down Notcurses many times in a row).
* sgr poc: check return value of setlocale()
* drone: run all unit tests
* CMake: add some tests using PoCs
* ncneofetch: print even small palettes
2020-07-02 18:03:52 -04:00

47 lines
972 B
YAML

---
kind: pipeline
type: docker
name: debian-unstable
steps:
- name: debian-build
image: dankamongmen/unstable_builder:2020-06-19a
commands:
- export LANG=en_US.UTF-8
- mkdir build
- cd build
- cmake .. -DCMAKE_BUILD_TYPE=Release # -DUSE_RUST=yes -DUSE_NETWORK=yes
- make
- env TERM=xterm make test
---
kind: pipeline
type: docker
name: ubuntu-focal
steps:
- name: ubuntu-build
image: dankamongmen/focal:2020-06-19a
commands:
- export LANG=en_US.UTF-8
- mkdir build
- cd build
- cmake -DCMAKE_BUILD_TYPE=Release -DUSE_MULTIMEDIA=none ..
- make
- env TERM=xterm make test
---
kind: pipeline
type: docker
name: fedora-rawhide
steps:
- name: fedora-rawhide
image: dankamongmen/fedora33:2020-06-19a
commands:
- export LANG=en_US.UTF-8
- dnf install -y doctest-devel
- mkdir build
- cd build
- cmake -DCMAKE_BUILD_TYPE=Release -DUSE_MULTIMEDIA=oiio ..
- make
- env TERM=xterm make test