mirror of
https://github.com/godotengine/godot-git-plugin.git
synced 2026-01-01 01:48:28 +03:00
CI: Fix build on macOS 15 runner with CMake 4.0 and Xcode 16.4
- Enforce min CMake version targeted for libssh2 - Downgrade Xcode to 16.2 as that's the last version before upgrading to LLVM 19 which seems to break building libgit2's bundled zlib
This commit is contained in:
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@@ -70,6 +70,10 @@ jobs:
|
||||
macos-universal:
|
||||
runs-on: macos-15
|
||||
steps:
|
||||
- name: Setup Xcode 16.2 (16.3+ incompatible with libgit2's zlib)
|
||||
uses: maxim-lobanov/setup-xcode@v1
|
||||
with:
|
||||
xcode-version: '16.2'
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
submodules: recursive
|
||||
|
||||
@@ -15,6 +15,7 @@ def build_library(env, deps):
|
||||
"CMAKE_DISABLE_FIND_PACKAGE_ZLIB": 1,
|
||||
"CMAKE_DISABLE_FIND_PACKAGE_OPENSSL": 1,
|
||||
"CRYPTO_BACKEND": "OpenSSL",
|
||||
"CMAKE_POLICY_VERSION_MINIMUM": 3.5,
|
||||
}
|
||||
|
||||
if env["platform"] != "windows":
|
||||
|
||||
Reference in New Issue
Block a user