forked from vcmi/vcmi
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
disable Android (NDK25 is already removed from some GH runners)
- Loading branch information
1 parent
90bd291
commit 6c4a257
Showing
1 changed file
with
42 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -87,20 +87,24 @@ jobs: | |
cmake_args: -G Ninja | ||
preset: windows-mingw-conan-linux | ||
conan_profile: mingw32-linux.jinja | ||
- platform: android-32 | ||
os: macos-14 | ||
extension: apk | ||
preset: android-conan-ninja-release | ||
conan_profile: android-32 | ||
conan_options: --conf tools.android:ndk_path=$ANDROID_NDK_ROOT | ||
artifact_platform: armeabi-v7a | ||
- platform: android-64 | ||
os: macos-14 | ||
extension: apk | ||
preset: android-conan-ninja-release | ||
conan_profile: android-64 | ||
conan_options: --conf tools.android:ndk_path=$ANDROID_NDK_ROOT | ||
artifact_platform: arm64-v8a | ||
|
||
# XXX: some runs already fail due to missing NDK 25 | ||
# https://github.com/actions/runner-images/issues/10614 | ||
|
||
# - platform: android-32 | ||
# os: macos-14 | ||
# extension: apk | ||
# preset: android-conan-ninja-release | ||
# conan_profile: android-32 | ||
# conan_options: --conf tools.android:ndk_path=$ANDROID_NDK_ROOT | ||
# artifact_platform: armeabi-v7a | ||
# - platform: android-64 | ||
# os: macos-14 | ||
# extension: apk | ||
# preset: android-conan-ninja-release | ||
# conan_profile: android-64 | ||
# conan_options: --conf tools.android:ndk_path=$ANDROID_NDK_ROOT | ||
# artifact_platform: arm64-v8a | ||
# | ||
# MMAI builds | ||
# | ||
|
@@ -174,30 +178,30 @@ jobs: | |
VCMI_BUILD_PLATFORM: x64 | ||
MMAI: ${{matrix.mmai}} | ||
|
||
# ensure the ccache for each PR is separate so they don't interfere with each other | ||
# fall back to ccache of the vcmi/vcmi repo if no PR-specific ccache is found | ||
- name: ccache for PRs | ||
uses: hendrikmuhs/[email protected] | ||
if: ${{ github.event.number != '' }} | ||
with: | ||
key: ${{ matrix.preset }}-PR-${{ github.event.number }} | ||
restore-keys: | | ||
${{ matrix.preset }}-PR-${{ github.event.number }} | ||
${{ matrix.preset }}-no-PR | ||
# actual cache takes up less space, at most ~1 GB | ||
max-size: "5G" | ||
verbose: 2 | ||
|
||
- name: ccache for everything but PRs | ||
uses: hendrikmuhs/[email protected] | ||
if: ${{ (github.repository == 'vcmi/vcmi' && github.event.number == '' && (github.ref == 'refs/heads/develop' || github.ref == 'refs/heads/beta' || github.ref == 'refs/heads/master')) || github.repository != 'vcmi/vcmi' }} | ||
with: | ||
key: ${{ matrix.preset }}-no-PR | ||
restore-keys: | | ||
${{ matrix.preset }}-no-PR | ||
# actual cache takes up less space, at most ~1 GB | ||
max-size: "5G" | ||
verbose: 2 | ||
# # ensure the ccache for each PR is separate so they don't interfere with each other | ||
# # fall back to ccache of the vcmi/vcmi repo if no PR-specific ccache is found | ||
# - name: ccache for PRs | ||
# uses: hendrikmuhs/[email protected] | ||
# if: ${{ github.event.number != '' }} | ||
# with: | ||
# key: ${{ matrix.preset }}-PR-${{ github.event.number }} | ||
# restore-keys: | | ||
# ${{ matrix.preset }}-PR-${{ github.event.number }} | ||
# ${{ matrix.preset }}-no-PR | ||
# # actual cache takes up less space, at most ~1 GB | ||
# max-size: "5G" | ||
# verbose: 2 | ||
|
||
# - name: ccache for everything but PRs | ||
# uses: hendrikmuhs/[email protected] | ||
# if: ${{ (github.repository == 'vcmi/vcmi' && github.event.number == '' && (github.ref == 'refs/heads/develop' || github.ref == 'refs/heads/beta' || github.ref == 'refs/heads/master')) || github.repository != 'vcmi/vcmi' }} | ||
# with: | ||
# key: ${{ matrix.preset }}-no-PR | ||
# restore-keys: | | ||
# ${{ matrix.preset }}-no-PR | ||
# # actual cache takes up less space, at most ~1 GB | ||
# max-size: "5G" | ||
# verbose: 2 | ||
|
||
- name: Prepare Heroes 3 data | ||
env: | ||
|