mirror of
https://github.com/vcmi/vcmi.git
synced 2026-05-22 09:55:17 +02:00
[conan] update dependencies to the latest
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
RELEASE_TAG="2025-12-10"
|
||||
FILENAME="$1.tgz"
|
||||
RELEASE_TAG="2026-03-03"
|
||||
FILENAME="$1.txz"
|
||||
DOWNLOAD_URL="https://github.com/vcmi/vcmi-dependencies/releases/download/$RELEASE_TAG/$FILENAME"
|
||||
|
||||
downloadedFile="$RUNNER_TEMP/$FILENAME"
|
||||
|
||||
+1
-1
Submodule dependencies updated: 1857724145...727454e5da
@@ -11,7 +11,7 @@ RUN pipx install 'sdkmanager'
|
||||
|
||||
RUN conan profile detect
|
||||
|
||||
ENV DEPS="dependencies-android-arm64-v8a.tgz"
|
||||
ENV DEPS="dependencies-android-arm64-v8a.txz"
|
||||
COPY CI/install_conan_dependencies.sh CI/install_conan_dependencies.sh
|
||||
RUN DEPS_VERSION=$(grep '^RELEASE_TAG=' CI/install_conan_dependencies.sh | cut -d'"' -f2) && \
|
||||
echo "Using DEPS_VERSION=$DEPS_VERSION" && \
|
||||
|
||||
@@ -13,9 +13,9 @@ cd vcmi
|
||||
conan profile detect
|
||||
|
||||
# 3) Restore prebuilt iOS dependencies cache
|
||||
# Download dependencies-ios.tgz from https://github.com/vcmi/vcmi-dependencies/releases
|
||||
# Download dependencies-ios.txz from https://github.com/vcmi/vcmi-dependencies/releases
|
||||
# If you do not have the tarball, skip this step and use --build=missing in the install command.
|
||||
conan cache restore dependencies-ios.tgz
|
||||
conan cache restore dependencies-ios.txz
|
||||
|
||||
# 4) Install dependencies (prebuilt binaries)
|
||||
# Pick Debug or Release and keep it consistent with the build configuration you use later.
|
||||
@@ -72,10 +72,10 @@ The primary and officially supported way is [Conan package manager](./Conan.md).
|
||||
|
||||
There are also [legacy manually built libraries](https://github.com/vcmi/vcmi-ios-deps) which can be used if you have Xcode 11/12 or to build for simulator / armv7 device, but this way is no longer supported. Using Conan will also let you build with any Xcode version and for any architecture / SDK.
|
||||
|
||||
If you are using the prebuilt dependency cache, download `dependencies-ios.tgz` from <https://github.com/vcmi/vcmi-dependencies/releases> and restore it:
|
||||
If you are using the prebuilt dependency cache, download `dependencies-ios.txz` from <https://github.com/vcmi/vcmi-dependencies/releases> and restore it:
|
||||
|
||||
```sh
|
||||
conan cache restore dependencies-ios.tgz
|
||||
conan cache restore dependencies-ios.txz
|
||||
```
|
||||
|
||||
## Configuring project
|
||||
|
||||
Reference in New Issue
Block a user