mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-24 11:45:53 +01:00
NDK root, again...
This commit is contained in:
parent
c68fc72387
commit
ec68557de5
4
.github/workflows/android.yml
vendored
4
.github/workflows/android.yml
vendored
@ -23,6 +23,8 @@ jobs:
|
|||||||
run: ${ANDROID_HOME}/tools/bin/sdkmanager --update
|
run: ${ANDROID_HOME}/tools/bin/sdkmanager --update
|
||||||
- name: Install android platform, platform-tools, build-tools and ndk
|
- name: Install android platform, platform-tools, build-tools and ndk
|
||||||
run: ${ANDROID_HOME}/tools/bin/sdkmanager --install "cmdline-tools;latest" "platform-tools" "platforms;android-31" "build-tools;31.0.0" "ndk;22.1.7171670"
|
run: ${ANDROID_HOME}/tools/bin/sdkmanager --install "cmdline-tools;latest" "platform-tools" "platforms;android-31" "build-tools;31.0.0" "ndk;22.1.7171670"
|
||||||
|
- name: Setup NDK path
|
||||||
|
run: echo "ANDROID_NDK_ROOT=${ANDROID_HOME}/ndk/22.1.7171670/" >> $GITHUB_ENV
|
||||||
- name: Install Qt (Desktop)
|
- name: Install Qt (Desktop)
|
||||||
uses: jurplel/install-qt-action@v2
|
uses: jurplel/install-qt-action@v2
|
||||||
with:
|
with:
|
||||||
@ -41,7 +43,7 @@ jobs:
|
|||||||
- name: Create localization
|
- name: Create localization
|
||||||
run: lrelease gpxsee.pro
|
run: lrelease gpxsee.pro
|
||||||
- name: Configure build
|
- name: Configure build
|
||||||
run: qmake gpxsee.pro OPENSSL_PATH=android_openssl ANDROID_NDK_ROOT=${ANDROID_HOME}/ndk/22.1.7171670/
|
run: qmake gpxsee.pro OPENSSL_PATH=android_openssl
|
||||||
- name: Build project
|
- name: Build project
|
||||||
run: make -j2 apk
|
run: make -j2 apk
|
||||||
- name: Upload artifacts
|
- name: Upload artifacts
|
||||||
|
Loading…
Reference in New Issue
Block a user