kjdev / php-ext-zstd

Zstd Extension for PHP
MIT License
201 stars 27 forks source link

Add Windows support (incl. AppVeyor CI) #33

Closed cmb69 closed 4 years ago

cmb69 commented 4 years ago

We make the configure option --enable-zstd available on Windows, which always builds against an external libzstd.

We also add basic AppVeyor CI support for building the extension and running the test suite.

The streams_3.php fails on x86 Windows because the compression of PHP_BINARY doesn't appear to be as good as supposed; $size0 is 109056, and $size1 is 55206 for me locally.

kjdev commented 4 years ago

Thanks.

If thread-safe is enabled, it seems to cause an error, so I will fix it now.