mirror of
git://code.qt.io/qt/qt5.git
synced 2026-04-04 12:46:36 +08:00
Many times there were warnings of comparison of signs which can go unnoticed for various Android ABIs, so make warnings as errors to make sure to catch such issues on the fly. Change-Id: Idbc65bb3533188705ff7f7b9aaaf9de093817e4b Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
70 lines
4.1 KiB
YAML
70 lines
4.1 KiB
YAML
Version: 2
|
|
Configurations:
|
|
-
|
|
Id: 'android-arm64-on-macos'
|
|
Template: 'qtci-macos-12-x86_64-105'
|
|
Target os: 'Android_ANY'
|
|
Target arch: 'arm64'
|
|
Compiler: 'Clang'
|
|
Target compiler: 'Clang'
|
|
Platform dependency: 'macos-latest-xcode-universal-packaging-build'
|
|
Features: ['Packaging', 'Sccache', 'WarningsAreErrors', 'DisableTests', '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 arm64-v8a',
|
|
'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-macos-universal-clang',
|
|
'CONAN_PROFILE=coin/conan/profiles/ci-unix-android-arm64-clang',
|
|
'NON_QTBASE_TARGET_CMAKE_ARGS=-DQT_ADDITIONAL_HOST_PACKAGES_PREFIX_PATH=/usr/local',
|
|
'ANDROID_NDK_ROOT={{.Env.ANDROID_NDK_ROOT_DEFAULT}}'
|
|
]
|
|
-
|
|
Template: 'qtci-windows-10_22H2-x86_64-50'
|
|
Target os: 'Android_ANY'
|
|
Target arch: 'armv7'
|
|
Compiler: 'Mingw'
|
|
Target compiler: 'Clang'
|
|
Platform dependency: 'Windows10_22H2-Mingw11-x64-host'
|
|
Features: ['Packaging', 'Sccache', 'WarningsAreErrors', 'DisableTests', 'UseConfigure']
|
|
Environment variables: [
|
|
'Path={{.Env.MINGW1120}}\bin;{{.Env.Path}}',
|
|
'TARGET_CONFIGURE_ARGS=-nomake examples -release -force-debug-info -android-ndk {{.Env.ANDROID_NDK_ROOT_DEFAULT}} -android-sdk {{.Env.ANDROID_SDK_ROOT}} -android-abis armeabi-v7a -no-feature-pkg-config',
|
|
'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-windows-x86_64-mingw',
|
|
'CONAN_PROFILE=coin/conan/profiles/ci-windows-android-armv7-clang',
|
|
'NON_QTBASE_TARGET_CMAKE_ARGS=-DQT_ADDITIONAL_HOST_PACKAGES_PREFIX_PATH={{.Env.Protobuf_ROOT_mingw}}',
|
|
'ANDROID_NDK_ROOT={{.Env.ANDROID_NDK_ROOT_DEFAULT}}'
|
|
]
|
|
-
|
|
Id: 'RHEL-8.4-Android-x86'
|
|
Template: 'qtci-linux-RHEL-8.4-x86_64-50'
|
|
Target os: 'Android_ANY'
|
|
Target arch: 'x86'
|
|
Compiler: 'GCC'
|
|
Target compiler: 'Clang'
|
|
Platform dependency: 'RHEL-8.4-host'
|
|
Features: ['Packaging', 'Sccache', 'WarningsAreErrors', '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',
|
|
'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-clang',
|
|
'ANDROID_EMULATOR=@emulator_x86_api_23',
|
|
'ANDROID_NDK_ROOT={{.Env.ANDROID_NDK_ROOT_DEFAULT}}'
|
|
]
|
|
-
|
|
Id: 'RHEL-8.4-Android-x86_64'
|
|
Template: 'qtci-linux-RHEL-8.4-x86_64-50'
|
|
Target os: 'Android_ANY'
|
|
Target arch: 'x86_64'
|
|
Compiler: 'GCC'
|
|
Target compiler: 'Clang'
|
|
Platform dependency: 'RHEL-8.4-host'
|
|
Features: ['Packaging', 'Sccache', 'WarningsAreErrors', 'DisableTests', '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',
|
|
'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}}'
|
|
]
|