CI: Added tests and examples, fixed omission.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
4b3ececa13
commit
1cca2b7406
|
@ -11,6 +11,7 @@ trigger:
|
|||
exclude:
|
||||
- tag
|
||||
|
||||
steps:
|
||||
- name: gcc5
|
||||
image: debian:stretch-slim
|
||||
pull: always
|
||||
|
@ -29,12 +30,12 @@ trigger:
|
|||
- gpg --armor --export 0x60c317803a41ba51845e371a1e9377a2ba9ef27f | apt-key add -
|
||||
- apt-get update -q
|
||||
- apt-get install -qy -t xenial g++-5
|
||||
- apt-get install -qy cmake pkg-config
|
||||
- apt-get install -qy libconfig++-dev libxdg-basedir-dev
|
||||
- apt-get install -qy cmake pkg-config libconfig++-dev libxdg-basedir-dev catch
|
||||
- rm -rf build && mkdir -p build && cd build
|
||||
- cmake ..
|
||||
- cmake -DWITH_TESTS=YES -DWITH_EXAMPLES=YES ..
|
||||
- make VERBOSE=1
|
||||
- make install DESTDIR=install
|
||||
- cd tests && ctest -Q
|
||||
volumes:
|
||||
- name: debian-package-cache
|
||||
path: /var/cache/apt/archives
|
||||
|
|
Reference in New Issue
Block a user