- Clone php-src (e.g. for the PHP-7.4 branch)
- Copy the igbinary directory into php-src/ext/igbinary
- Run
cd /path/to/php-src; ./buildconf --force; ./configure --disable-all --enable-maintainer-zts --enable-debug --enable-cgi --enable-session --enable-json --enable-igbinary --enable-gcov; make -j8
- Run the tests:
make test TESTS=ext/igbinary/tests
- Generate coverage from the tests:
make lcov TESTS=ext/igbinary/tests
- View the code coverage in
lcov_html/index.html
for ext/igbinary in your browser.