Do outsource builds on CI

This helps figurig-out missing -I more easily.
This commit is contained in:
Romain Tartière 2019-02-08 07:29:42 -10:00
parent ae56188005
commit c59219905c

View file

@ -17,5 +17,5 @@ addons:
- libcutter-dev - libcutter-dev
script: script:
- if [ $BLD == autoconf ]; then autoreconf -vfi && ./configure --prefix=$HOME/.local/ && make -j2 && make install; fi - if [ $BLD == autoconf ]; then autoreconf -vfi && mkdir build && cd build && ../configure --prefix=$HOME/.local/ && make -j2 && make install; fi
- if [ $BLD == cmake ]; then cmake -DCMAKE_INSTALL_PREFIX=~/.local . && make -j2 && make install; fi - if [ $BLD == cmake ]; then mkdir build && cd build && cmake -DCMAKE_INSTALL_PREFIX=~/.local .. && make -j2 && make install; fi