- Table of contents
- Build steps
Build steps¶
Not yet configured in my CI/CD, here are the manual steps :
Clone the repo¶
hg clone --insecure https://hg.cerbelle.net/hg/liboom
or
hg clone http://hg.cerbelle.net/hg/liboom
Prepare autotools¶
cd liboom
./bootstrap.sh
Configure the build¶
./configure
Appy code formatting¶
make astyle
Check for bugs, static code analysis with cppcheck¶
make cppcheck && \
xdg-open cppcheck/index.html
Compile, execute unit and functional tests, check coverage¶
make clean all check lcov gcovr && \
xdg-open lcov/index.html
Check install¶
make DESTDIR=`pwd`/_installtest install installcheck uninstall
Create a linux binary file¶
make linux-inst linux-zip linux-clean linux-distclean
Create a source distribution file¶
make dist distcheck distclean
Create Debian packages¶
make clean debian-deb debian-distclean