ci: Also test the Android recovery environment
[fio.git] / ci / actions-install.sh
index 39395de8b7876b616f9ce8665ac7bc2ccedf79e6..0d73ac97e2167572f1dfeb6313263dd2f11b2250 100755 (executable)
@@ -94,12 +94,14 @@ install_windows() {
 }
 
 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
+    case "${CI_TARGET_BUILD}" in
+       android*)
+           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
+           ;;
+    esac
 
     set_ci_target_os