12 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
Christoph M. Becker
d4439093f6 Actually pass stability to fetch-deps 2021-11-01 23:05:29 +01:00
Christoph M. Becker
2936538d23 Add fetch-deps stability parameter 2021-11-01 22:59:21 +01:00
Christoph M. Becker
4513fdace2 libssh2 2021-11-01 22:29:32 +01:00