ci: Verify the Android build
[fio.git] / ci / actions-install.sh
index 0e472717d26e4c48f514dc99b07758d4533bf93f..ff5149265e07b8cef6464f7427bfc70676a46fe6 100755 (executable)
@@ -83,6 +83,13 @@ install_macos() {
 }
 
 main() {
+    if [ "${CI_TARGET_BUILD}" = "android" ]; then
+       echo "Installing Android NDK..."
+       wget --quiet https://dl.google.com/android/repository/android-ndk-r24-linux.zip
+       unzip -q android-ndk-r24-linux.zip
+       return 0
+    fi
+
     set_ci_target_os
 
     install_function="install_${CI_TARGET_OS}"