Skip to content

Commit

Permalink
chore: update the building script
Browse files Browse the repository at this point in the history
  • Loading branch information
x-tools-author committed Nov 25, 2023
1 parent 54595f5 commit 7f38420
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,15 @@ jobs:
- name: Build for Android
shell: cmd
run: |
set CMAKE_MAKE_PROGRAM=${{ github.workspace }}/resources/tools/ninja.exe
set CMAKE_MAKE_PROGRAM=${{ github.workspace }}\resources\tools\ninja.exe
set JAVA_HOME=%JAVA_HOME_11_X64%
${{ github.workspace }}\Qt\${{env.QT_VERSION}}\android_armv7\bin\qt-cmake.bat ^
-G Ninja ^
-S . ^
-B "build\armeabi_v7a" ^
-DQT_HOST_PATH:PATH="${{ github.workspace }}\Qt\${{env.QT_VERSION}}\win64_mingw" ^
-DCMAKE_BUILD_TYPE:STRING=Release ^
-CMAKE_MAKE_PROGRAM:FILEPATH="${{ github.workspace }}/resources/tools/ninja.exe" ^
-CMAKE_MAKE_PROGRAM:FILEPATH="${{ github.workspace }}\resources\tools\ninja.exe" ^
-DCMAKE_CXX_COMPILER:FILEPATH="%ANDROID_NDK_ROOT%/toolchains/llvm/prebuilt/windows-x86_64/bin/clang++.exe" ^
-DANDROID_SDK_ROOT:PATH="%ANDROID_SDK_ROOT%" ^
-DANDROID_NDK_ROOT:PATH="%ANDROID_NDK_ROOT%"

0 comments on commit 7f38420

Please sign in to comment.