Skip to content

Commit df5af91

Browse files
committed
Install CMake 4.0.2 in CI workflow for Android builds
1 parent 46f54e0 commit df5af91

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/workflow.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -366,6 +366,11 @@ jobs:
366366
echo "Android SDK location: $ANDROID_SDK_ROOT"
367367
echo "Android NDK location: $ANDROID_NDK_ROOT"
368368
369+
# Install CMake 4.0.2 using sdkmanager
370+
echo "Installing CMake 4.0.2 from Android SDK..."
371+
yes | $ANDROID_SDK_ROOT/cmdline-tools/latest/bin/sdkmanager --install "cmake;4.0.2"
372+
echo "CMake installation completed"
373+
369374
- name: Install KTX library
370375
run: |
371376
if [ -d "/usr/local/include/ktx" ] && [ -f "/usr/local/lib/libktx.so" ]; then

0 commit comments

Comments
 (0)