felt / tippecanoe

Build vector tilesets from large collections of GeoJSON features.
BSD 2-Clause "Simplified" License
875 stars 76 forks source link

[ci] test in debug mode #202

Closed springmeyer closed 5 months ago

springmeyer commented 5 months ago

This adds a 2nd test run on CI to compile and test the project in debug mode (un-optimized binaries). In my experience sometimes C/C++ bugs can manifest more clearly in debug mode (or even break tests in debug mode while they still pass in release mode). The usefulness of this therefore, that this additional testing may help catch bugs on CI in the future.

The CI runs will take longer. If this slowness presents a problem, or undesirable wait, we could change the Makefile to build debug binaries with -O1 instead of the default of -O1 so the tests run slightly faster.