Closed illwieckz closed 4 months ago
The PR includes #46 to fix the macOS build:
The codeql/appveyor changes were merged:
The snprintf fixes were merged:
The MinGW fixes are now living in a separate PR:
What is now remaining from this PR is the Azure Pipeline configuration. I can't test it until Azure Pipeline is enabled for this repository.
I added some PNG, BMP and TGA test images from:
When running the Azure CI on a native platform (no cross-compilation), it runs crunch with them as input.
Currently, the test doesn't verify the output of crunch, but it already checks that the input format is not refused, and would catch this kind of error:
It also makes us able to run the test outside the CI and it makes me discover the raw TGA input format is not fully supported (horizontal orientation bit is ignored), I guess the error is in STB and then I would have to report them the error.
So, now Linux amd64, macOS amd64 and Windows/MSVC run the tests. The tests are only about running crunch on a set of images and only to check that crunch doesn't error out. We may do some checksums later but that's good enough for now and it's enough to validate the infrastructure is there.
For some unknown reason, when running in azure pipeline, test/test.py
own print
call is not displayed in azure pipeline output, same problem with either stdout
or stderr
output, I have no idea why. That's not a big problem and this may be investigated separately.
CI for Linux, MinGW and macOS