pecl-file_formats-yaml icon indicating copy to clipboard operation
pecl-file_formats-yaml copied to clipboard

ci: Add windows target for github workflows

Open bd808 opened this issue 4 years ago • 2 comments

bd808 avatar Oct 24 '21 21:10 bd808

Passing windows tests are a fib. All tests are actually skipped because the extension is not found. Seems likely that part of the problem is a need to install libyaml. I have no idea how to do that, but will watch https://github.com/cmb69/setup-php-sdk/issues/2.

bd808 avatar Oct 24 '21 22:10 bd808

I have added core dependency support for setup-php-sdk now, but there's still no PECL dependency support. Basically, installing libyaml is simple; just download it from https://windows.php.net/downloads/pecl/deps/ and unzip in a folder deps in the parent directory (see https://github.com/Imagick/imagick/commit/dcc6b6445b4325025c658d9d1f9d4324ba14de37). The ugly part is that the version and the "vc14/vc15" needs to be hard-coded. You could do it like it's done for Xdebug, or use conditional steps (like it's done there for other stuff a few lines below).

I hope to be able to provide support for PECL dependencies in setup-php-sdk soonish, though, so maybe you'll just wait. :)

cmb69 avatar Dec 04 '21 11:12 cmb69