notcurses/.drone.yml
2021-02-27 19:03:42 -05:00

88 lines
2.0 KiB
YAML

---
kind: pipeline
type: docker
name: debian-unstable
steps:
- name: debian-build
image: dankamongmen/unstable_builder:2021-02-24a
commands:
- export LANG=en_US.UTF-8
- export TERM=xterm
- mkdir build
- cd build
- cmake .. -DCMAKE_BUILD_TYPE=Release
- make -j2
- ctest
- make install
- ldconfig
- cd ../cffi
- LDFLAGS=-L/usr/local/lib CFLAGS=-I/usr/local/include python3 setup.py sdist build install
- env LD_LIBRARY_PATH=/usr/local/lib ./notcurses-pydemo > /dev/null
- env LD_LIBRARY_PATH=/usr/local/lib ./ncdirect-pydemo > /dev/null
- cd ../rust
- rustc --version
- cargo build
- cargo t_all
---
kind: pipeline
type: docker
name: alpine-edge
steps:
- name: alpine-edge
image: dankamongmen/edge_builder:2021-02-10a
commands:
- export LANG=en_US.UTF-8
- export TERM=xterm
- mkdir build
- cd build
- cmake -DCMAKE_BUILD_TYPE=Release -DUSE_QRCODEGEN=off -DUSE_PANDOC=off ..
- make -j2
- ctest
---
kind: pipeline
type: docker
name: fedora-rawhide
steps:
- name: fedora-rawhide
image: dankamongmen/fedora34:2021-01-08b
commands:
- export LANG=en_US.UTF-8
- export TERM=xterm
- mkdir build
- cd build
- cmake -DCMAKE_BUILD_TYPE=Release -DUSE_MULTIMEDIA=oiio ..
- make -j2
- ctest
- make install
- ldconfig
- cd ../rust
- rustc --version
- cargo build
- cargo t_all
- LDFLAGS=-L/usr/local/lib CFLAGS=-I/usr/local/include python3 setup.py sdist build install
- env LD_LIBRARY_PATH=/usr/local/lib ./notcurses-pydemo > /dev/null
- env LD_LIBRARY_PATH=/usr/local/lib ./ncdirect-pydemo > /dev/null
---
kind: pipeline
type: docker
name: ubuntu-hirsute
steps:
- name: ubuntu-build
image: dankamongmen/hirsute:2021-02-01a
commands:
- export LANG=es_ES.UTF-8
- export TERM=xterm
- mkdir build
- cd build
- cmake -DCMAKE_BUILD_TYPE=Debug -DUSE_MULTIMEDIA=none ..
- make -j2
- ctest -V
- make install
- ldconfig
- cd ../cffi
- python3 setup.py sdist build