Skip to content

Commit

Permalink
chore: release stable version
Browse files Browse the repository at this point in the history
Signed-off-by: qwq233 <qwq233@qwq2333.top>
  • Loading branch information
qwq233 committed Jan 24, 2025
1 parent 300829b commit 6cfb769
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 9 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,9 @@ jobs:
df -h
sudo apt-get install bison gcc make curl ninja-build -y
echo "y" | sdkmanager --install "ndk;27.0.12077973" --sdk_root=${ANDROID_SDK_ROOT} &> /dev/null
echo "y" | sdkmanager --install "ndk;27.2.12479018" --sdk_root=${ANDROID_SDK_ROOT} &> /dev/null
echo "sdk.dir=${ANDROID_HOME}" >> local.properties
export ANDROID_SDK=${ANDROID_HOME}
- name: Debug Build
run: |
echo -e "RELEASE_KEY_PASSWORD=${{ secrets.RELEASE_KEY_PASSWORD }}\nRELEASE_KEY_ALIAS=${{ secrets.RELEASE_KEY_ALIAS }}\nRELEASE_STORE_PASSWORD=${{ secrets.RELEASE_STORE_PASSWORD }}">>local.properties
Expand Down Expand Up @@ -158,8 +159,9 @@ jobs:
df -h
sudo apt-get install bison gcc make curl ninja-build -y
echo "y" | sdkmanager --install "ndk;27.0.12077973" --sdk_root=${ANDROID_SDK_ROOT} &> /dev/null
echo "y" | sdkmanager --install "ndk;27.2.12479018" --sdk_root=${ANDROID_SDK_ROOT} &> /dev/null
echo "sdk.dir=${ANDROID_HOME}" >> local.properties
export ANDROID_SDK=${ANDROID_HOME}
- name: Debug Build
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
df -h
sudo apt-get install bison gcc make curl ninja-build ccache -y
echo "y" | sdkmanager --install "ndk;27.0.12077973" --sdk_root=${ANDROID_SDK_ROOT} &> /dev/null
echo "y" | sdkmanager --install "ndk;27.2.12479018" --sdk_root=${ANDROID_SDK_ROOT} &> /dev/null
echo "sdk.dir=${ANDROID_HOME}" >> local.properties
- name: Debug Build
run: |
Expand Down
1 change: 0 additions & 1 deletion TMessagesProj/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,6 @@ android {
defaultConfig {
externalNativeBuild {
cmake {
version = "3.22.1"
arguments += listOf(
"-DANDROID_STL=c++_static",
"-DANDROID_PLATFORM=android-27",
Expand Down
7 changes: 4 additions & 3 deletions TMessagesProj/jni/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,10 @@ include(${CMAKE_HOME_DIRECTORY}/voip/CMakeLists.txt)

include(${CMAKE_HOME_DIRECTORY}/integrity/CMakeLists.txt)

# cpu features
include_directories(${ANDROID_NDK}/sources/android/cpufeatures)
add_library(cpufeatures ${ANDROID_NDK}/sources/android/cpufeatures/cpu-features.c)

set(NATIVE_LIB "tmessages.49")

#tmessages
Expand Down Expand Up @@ -525,6 +529,3 @@ target_link_libraries(${NATIVE_LIB}
# -Wl,--whole-archive vpxasm -Wl,--no-whole-archive
# c)
#endif()

include(AndroidNdkModules)
android_ndk_import_module_cpufeatures()
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ val androidTargetSdkVersion by extra(35)
val androidMinSdkVersion by extra(27)
val androidCompileSdkVersion by extra(35)
val androidBuildToolsVersion by extra("34.0.0")
val androidCompileNdkVersion = "27.0.12077973"
val androidCompileNdkVersion = "27.2.12479018"

fun Project.configureBaseExtension() {
extensions.findByType(com.android.build.gradle.BaseExtension::class)?.run {
Expand Down
2 changes: 1 addition & 1 deletion buildSrc/src/main/kotlin/Version.kt
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,5 @@ object Version {
val officialVersionName = "11.5.3"

@JvmStatic
val isStable = false
val isStable = true
}

0 comments on commit 6cfb769

Please sign in to comment.