Skip to content

Commit

Permalink
chore: update the file
Browse files Browse the repository at this point in the history
  • Loading branch information
x-tools-author committed Nov 22, 2023
1 parent 3266832 commit 3a0b299
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/build-android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,24 +21,23 @@ jobs:
matrix:
#arch: [android_armv7, android_arm64_v8a, android_x86, android_x86_64]
arch: [android_armv7]
version: [6.5.3]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install Qt
uses: jurplel/install-qt-action@v3
with:
aqtversion: '==3.1.*'
version: '6.5.3'
host: 'linux'
target: 'android'
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
modules: 'qtcharts qtserialbus qtserialport qtwebsockets'
- name: Build for Android
run: |
mkdir build
cd build
export ANDROID_SDK_ROOT=$ANDROID_HOME
export ANDROID_NDK_ROOT=$ANDROID_HOME/ndk-bundle
cmake -DCMAKE_PREFIX_PATH='${{ github.workspace }}/Qt/6.5.3/${{ matrix.arch }}/lib/cmake/Qt6' -DCMAKE_BUILD_TYPE=Release -G "Unix Makefiles" ../
cmake -DCMAKE_PREFIX_PATH='${{ github.workspace }}/Qt/${{ matrix.version }}/${{ matrix.arch }}/lib/cmake/Qt6' -DCMAKE_BUILD_TYPE=Release -G "Unix Makefiles" ../
make

0 comments on commit 3a0b299

Please sign in to comment.