1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-30 22:51:16 +01:00

Build arm64_v8a targets on Android

This commit is contained in:
Martin Tůma 2023-08-05 09:51:04 +02:00
parent 61b51e5596
commit 6670dc32b5

View File

@ -25,17 +25,15 @@ jobs:
run: ${ANDROID_HOME}/tools/bin/sdkmanager --install "cmdline-tools;latest" "platform-tools" "platforms;android-31" "build-tools;31.0.0" "ndk;23.1.7779620" run: ${ANDROID_HOME}/tools/bin/sdkmanager --install "cmdline-tools;latest" "platform-tools" "platforms;android-31" "build-tools;31.0.0" "ndk;23.1.7779620"
- name: Setup NDK path - name: Setup NDK path
run: echo "ANDROID_NDK_ROOT=${ANDROID_HOME}/ndk/23.1.7779620/" >> $GITHUB_ENV run: echo "ANDROID_NDK_ROOT=${ANDROID_HOME}/ndk/23.1.7779620/" >> $GITHUB_ENV
- name: Install Qt (Desktop)
uses: jurplel/install-qt-action@v3
with:
version: '6.4.0'
- name: Install Qt (Android) - name: Install Qt (Android)
uses: jurplel/install-qt-action@v3 uses: jurplel/install-qt-action@v3
with: with:
aqtversion: '==3.1.*'
version: '6.4.0' version: '6.4.0'
host: 'linux'
target: 'android' target: 'android'
arch: 'android_armv7' arch: 'android_arm64_v8a'
modules: qtpositioning qt5compat qtserialport modules: qtimageformats qtpositioning qtserialport qt5compat
- name: Install Android OpenSSL - name: Install Android OpenSSL
run: git clone https://github.com/KDAB/android_openssl.git run: git clone https://github.com/KDAB/android_openssl.git
- name: Create localization - name: Create localization
@ -47,5 +45,5 @@ jobs:
- name: Upload artifacts - name: Upload artifacts
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
with: with:
name: GPXSee-armv7.apk name: GPXSee-arm64_v8a.apk
path: android-build/build/outputs/apk/debug/android-build-debug.apk path: android-build/build/outputs/apk/debug/android-build-debug.apk