Skip to content

Commit

Permalink
CI: sign for android
Browse files Browse the repository at this point in the history
  • Loading branch information
KangLin committed Dec 14, 2023
1 parent e10b52d commit 200a4f3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
matrix:
BUILD_TYPE: [Release]
qt_arch: [android_arm64_v8a, android_armv7, android_x86_64]
qt_version: [6.5.1]
qt_version: [6.6.1]
include:
- BUILD_TYPE: Release
qt_arch: android_arm64_v8a
Expand Down Expand Up @@ -139,6 +139,9 @@ jobs:
env:
RabbitCommon_DIR: ${{env.SOURCE_DIR}}/RabbitCommon
VCPKG_ROOT: ${{env.SOURCE_DIR}}/vcpkg
QT_ANDROID_KEYSTORE_PATH: ${{env.SOURCE_DIR}}/RabbitCommon/RabbitCommon.keystore
QT_ANDROID_KEYSTORE_ALIAS: rabbitcommon
QT_ANDROID_KEYSTORE_STORE_PASS: ${{secrets.STOREPASS}}
run: |
sudo chmod 777 ${Qt6_DIR}/bin/qt-cmake
${Qt6_DIR}/bin/qt-cmake .. \
Expand All @@ -149,6 +152,8 @@ jobs:
-DQT_HOST_PATH=${Qt6_DIR}/../gcc_64 \
-DANDROID_PLATFORM=${{env.ANDROID_PLATFORM}} \
-DANDROID_NATIVE_API_LEVEL=${{env.ANDROID_NATIVE_API_LEVEL}} \
-DQT_ANDROID_SIGN_APK=ON \
-DQT_ENABLE_VERBOSE_DEPLOYMENT=OFF \
-DQt6LinguistTools_DIR=${Qt6_DIR}/../gcc_64/lib/cmake/Qt6LinguistTools \
-DVCPKG_VERBOSE=ON \
-DX_VCPKG_APPLOCAL_DEPS_INSTALL=ON \
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:

android:
uses: ./.github/workflows/android.yml
secrets: inherit

deploy:
if: ${{ startsWith(github.ref, 'refs/tags/') }}
Expand Down

0 comments on commit 200a4f3

Please sign in to comment.