86 Commits

Author SHA1 Message Date
Christoph M. Becker
316680d2f5 Clean between release and debug builds
Otherwise we don't get the debug builds we desire.
2024-11-09 15:21:22 +01:00
Christoph M. Becker
779f0aa88f Check out OpenSSL without line ending conversion
This fixes the test failures we've got so far[1].

[1] <https://github.com/winlibs/winlib-builder/actions/runs/11526064416>
2024-11-08 16:54:40 +01:00
Christoph M. Becker
36c787c774 Run new libpng builder on windows-2022 2024-10-28 12:04:21 +01:00
Christoph M. Becker
049829af45 Update new libpng builder to use VS 17 2024-10-28 11:59:59 +01:00
Christoph M. Becker
02a029ab44 Distinguish between the old and the new libpng builder 2024-10-28 11:51:47 +01:00
Christoph M. Becker
e9c9e9bead Don't build static libssh2
As of libssh2 1.11.0, libssh2 also builds static libraries even if
`BUILD_SHARED_LIBS` is enabled.  We don't want that, so we tell CMake
not to do it.
2024-10-27 23:53:46 +01:00
Christoph M. Becker
1ecba3d591 Only install liblzma_Development components
This was not required for xz 5.2.5, but works there.  At least as of xz
5.6.3 also the executables and some docs would be installed, what we do
not want yet.
2024-10-26 12:40:49 +02:00
Christoph M. Becker
25ac67908b Add libbzip2 builder 2024-10-25 20:41:23 +02:00
Christoph M. Becker
9b20672deb Enforce proper Windows SDK version for CMake builds (GH-13)
This may be useful or not, but since it is done for MSBuild builds, it
should probably be done for CMake builds, too.
2024-10-25 17:32:17 +02:00
Christoph M. Becker
15fe571d6b Don't build OSSFuzz 2024-10-25 17:11:31 +02:00
Christoph M. Becker
a8f69c744b Define BZIP2_LIBRARY
For some reason, libzip 1.8.0 requires us to define this option, while
previously defining BZIP2_LIBRARIES had been sufficient.  Since
apparently the option doesn't hurt when building older libzip versions,
we just add it unconditionally.
2024-10-25 17:11:31 +02:00
Christoph M. Becker
46504d01ed Ensure that we don't build against an unwanted crypto library (GH-17)
libzip can use several different crypto libraries, and checks their
availability by default.  It then processes this information in a
certain order, and uses the first of these libraries that are have been
found.

We always want to use the Windows cryptography library (bcrypt), so we
ensure that only support for this is enabled.
2024-10-25 16:51:29 +02:00
Christoph M. Becker
d9ea66879e Update libavif.yml for newer libavif versions (GH-16)
Newer libavif versions require libyuf, so we enable the local build.
Furthermore, we need to adjust the AOM options, which have obviously
been changed.
2024-10-25 16:48:29 +02:00
Christoph M. Becker
897c1583a8 Add CMake based builder for libpng (GH-15)
This is supposed to work for libpng 1.6.43, but not for libpng 1.6.34,
for instance.

Besides switching from MSBuild to CMake, we also no longer build zlib,
but instead rely on the zlib build already provided as dependency of
the respective PHP version.

To have the `.pdb`s, we work around the apparently common issue that
these are not properly installed.

We also append the soname suffix (`16` in this case) to the include
directory for BC reasons.
2024-10-25 16:38:39 +02:00
Christoph M. Becker
9df7469371 Enforce proper PlatformToolset for libffi builds (GH-11)
This has apparently been overlooked.
2024-10-25 15:57:02 +02:00
Christoph M. Becker
0e21c38b73 Don't ask for the stability if there are no dependecies (GH-14)
This is just confusing for builders.  We also remove the calls to
fetch-deps.ps1 if there are no dependencies to fetch.
2024-10-25 15:56:00 +02:00
Christoph M. Becker
ba9d6009cc Patch libmemcached (required as of 1.1.4) 2024-10-15 11:58:23 +02:00
Christoph M. Becker
07aa58dba0 Prepare vs17 library builds (GH-7)
* Add support for vs17 builds (for PHP 8.4)

We make the necessary additions to `compute-virtuals.ps1`, where the
choice of the WinSDK is somewhat arbitrary but rather conservative.

* Switch from windows-2019 to windows-2022 runners

This is needed to actually be able to do vs17 builds, since that
requires Visual Studio 2022, which is not available on the windows-
2019 runners.  That implies that vc15 builds are no longer possible
without additional changes[1], but that shouldn't be a concern because
none of the supported PHP versions require vc15 builds.

[1] <https://github.com/actions/runner-images/issues/9701>

* Update CMake generators

Since window-2022 uses Visual Studio 2022, we need to update the CMake
generators; using the proper toolset is already catered to by the `-T`
option.

* Bump vs16 Windows SDK to 10.0.20348.0

This solves the stdalign.h issue for ICU 75.1.
2024-10-04 01:06:21 +02:00
Christoph M. Becker
482a08cc91 --linktype is mandatory for newer net-snmp version
Previously, it was optional, so it doesn't hurt to explicitly pass it,
anyway.
2024-09-14 17:46:59 +02:00
Christoph M. Becker
0bb5e36585 Don't build *-uwp projects of icu4c (GH-10)
These are superfluous for PHP, and apparently may cause issues[1].

[1] <https://github.com/winlibs/winlib-builder/actions/runs/10752666056/job/29821234927#step:7:4613>
2024-09-08 16:01:06 +02:00
Christoph M. Becker
2f2d185768 Don't ask for the stability, since zlib has no dependencies
While it doesn't harm to ask for this info, it is somewhat confusing.
2024-07-25 19:33:17 +02:00
Shivam Mathur
e0fecd4677 Merge pull request #4 from winlibs/cmb/msbuild-v2
Update to microsoft/setup-msbuild v2
2024-07-15 09:40:30 +00:00
Christoph M. Becker
871cfc8061 Update upload action to v4
`actions/checkout@v3` is deprecated, so we update to v4.  We do not
expect any trouble with this update, since we already treated the
upload artifacts as immutable, but nonetheless we did a couple of test
builds (argon2, zlib and libjpeg) and the results appear to be fine.
2024-07-14 20:41:27 +02:00
Christoph M. Becker
2721bdcf34 Update to microsoft/setup-msbuild v2
`microsoft/setup-msbuild@v1` uses `node16` which is deprecated; `v2`
claims to change no functionality, only upgrading to `node20`[1].

We rolled a couple of builds (libiconv, libsodium and icu4c), and
checked that the results are sensible (without really testing them).

[1] <https://github.com/microsoft/setup-msbuild/releases/tag/v2>
2024-07-14 20:01:27 +02:00
Christoph M. Becker
e06044b746 Update checkout action to v4
`actions/checkout@v3` is deprecated, so we update to v4.  This is done
without further tests, but a mere search and replace.  We do not expect
anything to break, but even if so, we can still fix these issues.
2024-07-14 18:16:38 +02:00
Shivam Mathur
fc5cb185f3 Fix liblzma.yml when built without pdb 2024-06-03 08:41:49 +05:30
Christoph M. Becker
1ce5042f75 Update to actions/upload-artifact@v3 2022-10-11 20:32:01 +02:00
Christoph M. Becker
bb1e3b6026 Update to actions/checkout@v3 2022-10-11 20:30:58 +02:00
Christoph M. Becker
d962a6fd8f Allow OpenSSL tests to fail 2022-06-11 11:41:24 +02:00
Christoph M. Becker
9486c6b7f8 postgresql 2022-06-08 16:03:22 +02:00
Christoph M. Becker
7974da7ec1 openldap 2022-06-07 20:26:00 +02:00
Christoph M. Becker
0731940bb3 mpir 2022-06-06 18:50:15 +02:00
Christoph M. Becker
98c37e4bf2 libsodium 2022-05-26 14:47:10 +02:00
Christoph M. Becker
f7569d21bf cyrus-sasl 2022-05-26 14:22:57 +02:00
Christoph M. Becker
d880f8d073 Fix step name 2022-05-26 13:46:07 +02:00
Christoph M. Becker
22d009f9db qdbm 2022-05-26 13:42:48 +02:00
Christoph M. Becker
2035074f0c libjpeg 2022-05-26 13:19:35 +02:00
Christoph M. Becker
a052ea3518 enchant 2022-05-26 00:22:54 +02:00
Christoph M. Becker
96a986ad40 libavif 2022-05-25 18:51:17 +02:00
Christoph M. Becker
d3c38ffe34 net-snmp 2022-05-06 11:08:35 +02:00
Christoph M. Becker
e70df86d21 argon2 2022-05-03 20:48:08 +02:00
Christoph M. Becker
fb1107c39b wineditline 2022-05-03 17:00:04 +02:00
Christoph M. Becker
9ad643e083 libxml: inline custom makefile and drop debug builds 2022-05-02 21:09:51 +02:00
Christoph M. Becker
b779ab9de4 oniguruma 2022-04-29 14:20:17 +02:00
Christoph M. Becker
1ec568498b Fix libzip build for VC15 2022-04-02 13:28:52 +02:00
Christoph M. Becker
51bfd2c9b8 Fix libpng installation for VS15
We also remove duplication.
2022-04-01 18:02:43 +02:00
Christoph M. Becker
5b3b7c50b9 Enforce specific Windows SDK version 2022-04-01 17:26:29 +02:00
Christoph M. Becker
6471a05940 libssh2_msbuild (for libssh2 < 1.10.0) 2022-04-01 15:21:42 +02:00
Christoph M. Becker
ded18ebfce Fix YAML syntax 2022-04-01 10:49:39 +02:00
Christoph M. Becker
3217d6ee04 Fix typo 2022-04-01 10:47:34 +02:00