Skip to content

Commit

Permalink
Set minimum Android SDK version to 30
Browse files Browse the repository at this point in the history
Because stuff doesn't run on older versions than this.
  • Loading branch information
askmeaboutlo0m committed Nov 7, 2024
1 parent eb26a98 commit dc0afdb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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"
Expand All @@ -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
Expand Down

0 comments on commit dc0afdb

Please sign in to comment.