1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-27 21:24:47 +01:00

Try to install both the desktop and the Android Qt

(broken aqtinstall workaround)
This commit is contained in:
Martin Tůma 2022-06-04 13:53:35 +02:00
parent a168d28d81
commit c9b06ba3cf

View File

@ -22,13 +22,12 @@ 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: Cache Qt - name: Install Qt (Desktop)
id: cache-qt uses: jurplel/install-qt-action@v2
uses: actions/cache@v1
with: with:
path: ../Qt aqtversion: '==2.1.0'
key: ${{ runner.os }}-QtCache version: '6.3.0'
- name: Install Qt - name: Install Qt (Android)
uses: jurplel/install-qt-action@v2 uses: jurplel/install-qt-action@v2
with: with:
aqtversion: '==2.1.0' aqtversion: '==2.1.0'
@ -36,8 +35,6 @@ jobs:
host: 'linux' host: 'linux'
target: 'android' target: 'android'
arch: 'android_armv7' arch: 'android_armv7'
install-deps: 'true'
cached: ${{ steps.cache-qt.outputs.cache-hit }}
- name: Configure build - name: Configure build
run: qmake gpxsee.pro run: qmake gpxsee.pro
- name: Build project - name: Build project