Fixed CI recipe, confirmed support for Catch < 2
the build was successful Podrobnosti

This commit is contained in:
tastytea 2019-01-02 06:18:36 +01:00
rodič 3c879d6eb4
revize a72149221a
Podepsáno: tastytea
ID GPG klíče: CFC39497F1B26E07
3 změnil soubory, kde provedl 3 přidání a 2 odebrání

Zobrazit soubor

@ -43,7 +43,7 @@ pipeline:
- rm -rf build && mkdir -p build && cd build
- cmake -DCMAKE_INSTALL_PREFIX=/usr -DWITH_TESTS=1 ..
- make VERBOSE=1
- for test in test_*; do ${test}; done
- ctest ..
- make install DESTDIR=install
- make package
- cmake -DWITH_DEB=ON ..

Zobrazit soubor

@ -80,7 +80,7 @@ They are generated on Debian Stretch 64 bit and signed with my
* [cmake](https://cmake.org/) (at least 3.2)
* [imagemagick](https://www.imagemagick.org/) (tested: 7.0 / 6.7)
* Optional:
* [Catch](https://github.com/catchorg/Catch2) (tested: 2.3.0)
* [Catch](https://github.com/catchorg/Catch2) (tested: 2.3 / 1.2)
On a Debian system, install the packages:
`build-essential cmake libmagick++-dev`.

Zobrazit soubor

@ -3,6 +3,7 @@ if(WITH_TESTS)
if(Catch2_FOUND)
set(MYCATCH, Catch2::Catch2)
else()
message(WARNING "Catch2 not found. Assuming Catch 1.x is installed.")
set(MYCATCH, "")
endif()
include(CTest)