diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index eaf0de1f5a..cfc59c61bf 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -124,6 +124,7 @@ jobs: "-DCMAKE_TOOLCHAIN_FILE=$ANDROID_NDK_TOOLCHAIN_FILE" "-DANDROID_PLATFORM=$ANDROID_PLATFORM" "-DANDROID_TARGET_SDK_VERSION=$ANDROID_TARGET_SDK_VERSION" + "-DANDROID_MIN_SDK_VERSION=$ANDROID_MIN_SDK_VERSION" "-DANDROID_SDK_BUILD_TOOLS_REVISION=$ANDROID_BUILD_TOOLS_VERSION" -DANDROID_ABI=arm64-v8a -DCMAKE_FIND_ROOT_PATH_MODE_PACKAGE=on @@ -190,6 +191,7 @@ jobs: "-DCMAKE_TOOLCHAIN_FILE=$ANDROID_NDK_TOOLCHAIN_FILE" "-DANDROID_PLATFORM=$ANDROID_PLATFORM" "-DANDROID_TARGET_SDK_VERSION=$ANDROID_TARGET_SDK_VERSION" + "-DANDROID_MIN_SDK_VERSION=$ANDROID_MIN_SDK_VERSION" "-DANDROID_SDK_BUILD_TOOLS_REVISION=$ANDROID_BUILD_TOOLS_VERSION" -DANDROID_ABI=armeabi-v7a -DCMAKE_FIND_ROOT_PATH_MODE_PACKAGE=on @@ -373,6 +375,7 @@ jobs: build_tools_version=34.0.0-rc3 ndk_version=27.0.12077973 target_sdk_version=34 + min_sdk_version=30 ndk_root="$ANDROID_SDK_ROOT/ndk/$ndk_version" ndk_toolchain_file="$ndk_root/build/cmake/android.toolchain.cmake" platform="android-$target_sdk_version" @@ -382,6 +385,7 @@ jobs: echo "ANDROID_NDK_TOOLCHAIN_FILE=$ndk_toolchain_file" >> "$GITHUB_ENV" echo "ANDROID_PLATFORM=$platform" >> "$GITHUB_ENV" echo "ANDROID_TARGET_SDK_VERSION=$target_sdk_version" >> "$GITHUB_ENV" + echo "ANDROID_MIN_SDK_VERSION=$min_sdk_version" >> "$GITHUB_ENV" if: matrix.cross_os == 'Android' # Qt's build toolage really likes to auto-detect Android package