Android: Android OS 13 API 33 to CI as maximum version

Android 13 replaces Android 12 as max version in CI.
Android 6 kept as minimum version of Android in CI.

Task-number: QTQAINFRA-5392
Task-number: QTQAINFRA-5431
Change-Id: If85c6f63d52055e2ba95f92c154b20a6b809c7dc
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
This commit is contained in:
Rami Potinkara
2023-05-09 22:18:42 +03:00
parent 2751db4d29
commit ef12163e25
45 changed files with 55 additions and 128 deletions

View File

@@ -36,7 +36,7 @@ Configurations:
'ANDROID_NDK_ROOT={{.Env.ANDROID_NDK_ROOT_DEFAULT}}'
]
-
Id: 'android-x86-on-linux'
Id: 'android-6-x86-on-linux'
Template: 'qtci-linux-RHEL-8.6-x86_64-50'
Target os: 'Android_ANY'
Target arch: 'x86'
@@ -54,19 +54,20 @@ Configurations:
'ANDROID_NDK_ROOT={{.Env.ANDROID_NDK_ROOT_DEFAULT}}'
]
-
Id: 'android-x86_64-on-linux'
Id: 'android-13-x86_64-on-linux'
Template: 'qtci-linux-RHEL-8.6-x86_64-50'
Target os: 'Android_ANY'
Target arch: 'x86_64'
Compiler: 'GCC'
Target compiler: 'Clang'
Platform dependency: 'rhel-8.6'
Features: ['Packaging', 'Sccache', 'DisableTests', 'UseConfigure']
Features: ['Packaging', 'Sccache', 'AndroidTestRun', 'VMSize8', 'UseConfigure']
Environment variables: [
'TARGET_CONFIGURE_ARGS=-nomake examples -release -force-debug-info -android-ndk {{.Env.ANDROID_NDK_ROOT_DEFAULT}} -android-sdk {{.Env.ANDROID_SDK_ROOT}} -android-abis x86_64',
'TARGET_CMAKE_ARGS=-DCMAKE_C_COMPILER_FRONTEND_VARIANT=GNU -DCMAKE_CXX_COMPILER_FRONTEND_VARIANT=GNU -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_ANDROID_HOME_DEFAULT}} -DQT_GENERATE_WRAPPER_SCRIPTS_FOR_ALL_HOSTS=ON',
'NON_QTBASE_TARGET_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_ANDROID_X86_64}}',
'CONAN_HOST_PROFILE=coin/conan/profiles/ci-linux-x86_64-gcc',
'CONAN_PROFILE=coin/conan/profiles/ci-unix-android-x86_64-clang',
'ANDROID_NDK_ROOT={{.Env.ANDROID_NDK_ROOT_DEFAULT}}'
'ANDROID_NDK_ROOT={{.Env.ANDROID_NDK_ROOT_DEFAULT}}',
'ANDROID_EMULATOR=@emulator_x86_64_api_33'
]

View File

@@ -1,20 +0,0 @@
Version: 2
Configurations:
-
Id: 'android-12-x86_64-on-linux'
Template: 'qtci-linux-RHEL-8.6-x86_64-50'
Target os: 'Android_ANY'
Target arch: 'x86_64'
Compiler: 'GCC'
Target compiler: 'Clang'
Platform dependency: 'rhel-8.6'
Features: ['Packaging', 'Sccache', 'AndroidTestRun', 'VMSize8', 'UseConfigure']
Environment variables: [
'TARGET_CONFIGURE_ARGS=-nomake examples -release -force-debug-info -android-ndk {{.Env.ANDROID_NDK_ROOT_DEFAULT}} -android-sdk {{.Env.ANDROID_SDK_ROOT}} -android-abis x86_64',
'TARGET_CMAKE_ARGS=-DCMAKE_C_COMPILER_FRONTEND_VARIANT=GNU -DCMAKE_CXX_COMPILER_FRONTEND_VARIANT=GNU -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_ANDROID_HOME_DEFAULT}} -DQT_GENERATE_WRAPPER_SCRIPTS_FOR_ALL_HOSTS=ON',
'NON_QTBASE_TARGET_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_ANDROID_X86_64}}',
'CONAN_HOST_PROFILE=coin/conan/profiles/ci-linux-x86_64-gcc',
'CONAN_PROFILE=coin/conan/profiles/ci-unix-android-x86_64-clang',
'ANDROID_NDK_ROOT={{.Env.ANDROID_NDK_ROOT_DEFAULT}}',
'ANDROID_EMULATOR=@emulator_x86_64_api_31'
]

View File

@@ -1,18 +0,0 @@
Version: 2
Configurations:
-
Template: 'qtci-linux-RHEL-8.6-x86_64-50'
Target os: 'Android_ANY'
Target arch: 'x86_64'
Compiler: 'GCC'
Target compiler: 'Clang'
Platform dependency: 'rhel-8.6'
Features: ['Packaging', 'Sccache', 'AndroidTestRun', 'VMSize8', 'UseConfigure', 'InsignificantTests']
Environment variables: [
'TARGET_CONFIGURE_ARGS=-nomake examples -release -force-debug-info -android-ndk {{.Env.ANDROID_NDK_ROOT_DEFAULT}} -android-sdk {{.Env.ANDROID_SDK_ROOT}} -android-abis x86_64',
'TARGET_CMAKE_ARGS=-DCMAKE_C_COMPILER_FRONTEND_VARIANT=GNU -DCMAKE_CXX_COMPILER_FRONTEND_VARIANT=GNU -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_ANDROID_HOME_DEFAULT}} -DQT_GENERATE_WRAPPER_SCRIPTS_FOR_ALL_HOSTS=ON',
'CONAN_HOST_PROFILE=coin/conan/profiles/ci-linux-x86_64-gcc',
'CONAN_PROFILE=coin/conan/profiles/ci-unix-android-x86_64-clang',
'ANDROID_NDK_ROOT={{.Env.ANDROID_NDK_ROOT_DEFAULT}}',
'ANDROID_EMULATOR=@emulator_x86_64_api_31'
]

View File

@@ -9,8 +9,8 @@ Configurations:
Target compiler: 'Clang'
Platform dependency: [
'rhel-8.6',
'android-x86-on-linux',
'android-x86_64-on-linux'
'android-6-x86-on-linux',
'android-13-x86_64-on-linux'
]
Features: [
'Sccache',
@@ -20,7 +20,7 @@ Configurations:
]
Environment variables: [
'QT_CI_ARTIFACT_ID_PATH_Android-host=QT_CI_ARTIFACT_ID_PATH_rhel-8.6',
'QT_CI_ARTIFACT_ID_PATH_Android-x86=QT_CI_ARTIFACT_ID_PATH_android-x86-on-linux',
'QT_CI_ARTIFACT_ID_PATH_Android-x86_64=QT_CI_ARTIFACT_ID_PATH_android-x86_64-on-linux',
'QT_CI_ARTIFACT_ID_PATH_Android-x86=QT_CI_ARTIFACT_ID_PATH_android-6-x86-on-linux',
'QT_CI_ARTIFACT_ID_PATH_Android-x86_64=QT_CI_ARTIFACT_ID_PATH_android-13-x86_64-on-linux',
'COMMON_TARGET_TEST_CMAKE_ARGS=-DQT_ANDROID_ABIS="x86;x86_64"'
]

View File

@@ -1,6 +1,5 @@
Version: 2
Include: [
cmake_platforms.yaml,
cmake_platforms_target_android_12.yaml
cmake_platforms.yaml
]
Configurations: []

View File

@@ -1,3 +1,5 @@
Version: 2
Include: [cmake_platforms.yaml]
Include: [
cmake_platforms.yaml
]
Configurations: []

View File

@@ -1,6 +1,5 @@
Version: 2
Include: [
cmake_platforms.yaml,
cmake_platforms_target_android_12.yaml
cmake_platforms.yaml
]
Configurations: []

View File

@@ -1,6 +1,5 @@
Version: 2
Include: [
cmake_platforms.yaml,
cmake_platforms_target_android_12.yaml
cmake_platforms.yaml
]
Configurations: []

View File

@@ -5,7 +5,6 @@ Include: [
integrity.yaml,
ios-tests.yaml,
address_sanitizer_platforms.yaml,
cmake_platforms_target_android_12.yaml,
linux_android_tests_multi_abi.yaml
]
Configurations: []

View File

@@ -1,6 +1,5 @@
Version: 2
Include: [
cmake_platforms.yaml,
cmake_platforms_target_android_12.yaml
cmake_platforms.yaml
]
Configurations: []

View File

@@ -1,6 +1,5 @@
Version: 2
Include: [
cmake_platforms.yaml,
cmake_platforms_target_android_12.yaml
cmake_platforms.yaml
]
Configurations: []

View File

@@ -1,6 +1,5 @@
Version: 2
Include: [
cmake_platforms.yaml,
cmake_platforms_target_android_12.yaml
cmake_platforms.yaml
]
Configurations: []

View File

@@ -3,7 +3,6 @@ Include: [
cmake_platforms.yaml,
integrity.yaml,
ios-tests.yaml,
cmake_platforms_static_tests.yaml,
cmake_platforms_target_android_12.yaml
cmake_platforms_static_tests.yaml
]
Configurations: []

View File

@@ -1,6 +1,5 @@
Version: 2
Include: [
cmake_platforms.yaml,
cmake_platforms_target_android_12.yaml
cmake_platforms.yaml
]
Configurations: []

View File

@@ -1,6 +1,5 @@
Version: 2
Include: [
cmake_platforms.yaml,
cmake_platforms_target_android_12.yaml
cmake_platforms.yaml
]
Configurations: []

View File

@@ -1,6 +1,5 @@
Version: 2
Include: [
cmake_platforms.yaml,
cmake_platforms_target_android_12.yaml
cmake_platforms.yaml
]
Configurations: []

View File

@@ -1,7 +1,6 @@
Version: 2
Include: [
cmake_platforms.yaml,
integrity.yaml,
cmake_platforms_target_android_12.yaml
integrity.yaml
]
Configurations: []

View File

@@ -1,7 +1,6 @@
Version: 2
Include: [
cmake_platforms.yaml,
integrity.yaml,
cmake_platforms_target_android_12.yaml
integrity.yaml
]
Configurations: []

View File

@@ -1,6 +1,5 @@
Version: 2
Include: [
cmake_platforms.yaml,
cmake_platforms_target_android_12.yaml
cmake_platforms.yaml
]
Configurations: []

View File

@@ -1,6 +1,5 @@
Version: 2
Include: [
cmake_platforms.yaml,
cmake_platforms_target_android_12.yaml
cmake_platforms.yaml
]
Configurations: []

View File

@@ -1,6 +1,5 @@
Version: 2
Include: [
cmake_platforms.yaml,
cmake_platforms_target_android_12.yaml
cmake_platforms.yaml
]
Configurations: []

View File

@@ -1,6 +1,5 @@
Version: 2
Include: [
cmake_platforms.yaml,
cmake_platforms_target_android_12.yaml
cmake_platforms.yaml
]
Configurations: []

View File

@@ -1,6 +1,5 @@
Version: 2
Include: [
cmake_platforms.yaml,
cmake_platforms_target_android_12.yaml
cmake_platforms.yaml
]
Configurations: []

View File

@@ -1,6 +1,5 @@
Version: 2
Include: [
cmake_platforms.yaml,
cmake_platforms_target_android_12.yaml
cmake_platforms.yaml
]
Configurations: []

View File

@@ -1,6 +1,5 @@
Version: 2
Include: [
cmake_platforms.yaml,
cmake_platforms_target_android_12.yaml
cmake_platforms.yaml
]
Configurations: []

View File

@@ -1,7 +1,6 @@
Version: 2
Include: [
cmake_platforms.yaml,
integrity.yaml,
cmake_platforms_target_android_12.yaml
integrity.yaml
]
Configurations: []

View File

@@ -1,6 +1,5 @@
Version: 2
Include: [
cmake_platforms.yaml,
cmake_platforms_target_android_12.yaml
cmake_platforms.yaml
]
Configurations: []

View File

@@ -1,6 +1,5 @@
Version: 2
Include: [
cmake_platforms.yaml,
cmake_platforms_target_android_12.yaml
cmake_platforms.yaml
]
Configurations: []

View File

@@ -1,7 +1,6 @@
Version: 2
Include: [
cmake_platforms.yaml,
integrity.yaml,
cmake_platforms_target_android_12.yaml
integrity.yaml
]
Configurations: []

View File

@@ -1,6 +1,5 @@
Version: 2
Include: [
cmake_platforms.yaml,
cmake_platforms_target_android_12.yaml
cmake_platforms.yaml
]
Configurations: []

View File

@@ -1,6 +1,5 @@
Version: 2
Include: [
cmake_platforms.yaml,
cmake_platforms_target_android_12.yaml
cmake_platforms.yaml
]
Configurations: []

View File

@@ -1,6 +1,5 @@
Version: 2
Include: [
cmake_platforms.yaml,
cmake_platforms_target_android_12.yaml
cmake_platforms.yaml
]
Configurations: []

View File

@@ -1,6 +1,5 @@
Version: 2
Include: [
cmake_platforms.yaml,
cmake_platforms_target_android_12.yaml
cmake_platforms.yaml
]
Configurations: []

View File

@@ -1,7 +1,6 @@
Version: 2
Include: [
cmake_platforms.yaml,
integrity.yaml,
cmake_platforms_target_android_12.yaml
integrity.yaml
]
Configurations: []

View File

@@ -1,6 +1,5 @@
Version: 2
Include: [
cmake_platforms.yaml,
cmake_platforms_target_android_12.yaml
cmake_platforms.yaml
]
Configurations: []

View File

@@ -1,7 +1,6 @@
Version: 2
Include: [
cmake_platforms.yaml,
integrity.yaml,
cmake_platforms_target_android_12.yaml
integrity.yaml
]
Configurations: []

View File

@@ -1,6 +1,5 @@
Version: 2
Include: [
cmake_platforms.yaml,
cmake_platforms_target_android_12.yaml
cmake_platforms.yaml
]
Configurations: []

View File

@@ -1,6 +1,5 @@
Version: 2
Include: [
cmake_platforms.yaml,
cmake_platforms_target_android_12.yaml
cmake_platforms.yaml
]
Configurations: []

View File

@@ -1,6 +1,5 @@
Version: 2
Include: [
cmake_platforms.yaml,
cmake_platforms_target_android_12.yaml
cmake_platforms.yaml
]
Configurations: []

View File

@@ -1,7 +1,6 @@
Version: 2
Include: [
cmake_platforms.yaml,
cmake_platforms_target_android_12.yaml
cmake_platforms.yaml
]
Configurations:
# Test on Ubuntu 22.04 Wayland

View File

@@ -1,6 +1,5 @@
Version: 2
Include: [
cmake_platforms.yaml,
cmake_platforms_target_android_12.yaml
cmake_platforms.yaml
]
Configurations: []

View File

@@ -1,6 +1,5 @@
Version: 2
Include: [
cmake_platforms.yaml,
cmake_platforms_target_android_12.yaml
cmake_platforms.yaml
]
Configurations: []

View File

@@ -1,6 +1,5 @@
Version: 2
Include: [
cmake_platforms.yaml,
cmake_platforms_target_android_12.yaml
cmake_platforms.yaml
]
Configurations: []

View File

@@ -1,6 +1,5 @@
Version: 2
Include: [
cmake_platforms.yaml,
cmake_platforms_target_android_12.yaml
cmake_platforms.yaml
]
Configurations: []

View File

@@ -155,8 +155,9 @@ echo "Android NDK = $ndkVersion" >> ~/versions.txt
cd "$sdkTargetFolder/cmdline-tools/tools/bin"
./sdkmanager --install "emulator" --sdk_root=$sdkTargetFolder \
| eval $sdkmanager_no_progress_bar_cmd
echo "y" | ./sdkmanager --install "system-images;android-23;google_apis;x86" \
"system-images;android-31;google_apis;x86_64" | eval $sdkmanager_no_progress_bar_cmd
echo "y" | ./sdkmanager --install "system-images;android-23;google_apis;x86" | eval $sdkmanager_no_progress_bar_cmd
echo "y" | ./sdkmanager --install "system-images;android-33;google_apis;x86_64" | eval $sdkmanager_no_progress_bar_cmd
echo "Checking the contents of Android SDK again..."
@@ -165,8 +166,8 @@ ls -l "$sdkTargetFolder"
echo "no" | ./avdmanager create avd -n emulator_x86_api_23 -c 2048M -f \
-k "system-images;android-23;google_apis;x86"
echo "no" | ./avdmanager create avd -n emulator_x86_64_api_31 -c 2048M -f \
-k "system-images;android-31;google_apis;x86_64"
echo "no" | ./avdmanager create avd -n emulator_x86_64_api_33 -c 2048M -f \
-k "system-images;android-33;google_apis;x86_64"
echo "Install $sdkApiLevelAutomotive $androidAutomotive"
DownloadURL "$androidAutomotive11Url" "$androidAutomotive11Url" "$android11Sha" \