chore: update the building script

This commit is contained in:
Qsaker 2023-11-26 01:31:53 +08:00
parent c80ff63dc0
commit 04518beb08

View File

@ -29,8 +29,12 @@ jobs:
arch: 'ios'
dir: ${{ github.workspace }}
version: ${{ env.QT_VERSION }}
- name: build for macos
- name: generate for ios
run: |
${{ github.workspace }}/Qt/${{env.QT_VERSION}}/ios/bin/qt-cmake -G "MinGW Makefiles" -S . -B "build/ios" \
-DCMAKE_BUILD_TYPE=Release \
-DQT_HOST_PATH:PATH="${{ github.workspace }}\Qt\${{env.QT_VERSION}}\macos"
- name: build for ios
run: |
${{ github.workspace }}/Qt/${{env.QT_VERSION}}/macos/bin/qt-cmake -G "MinGW Makefiles" -S . -B "build/ios" -DCMAKE_BUILD_TYPE=Release
cmake --build "build/ios" --config Release --target StringAssistant
tree build/ios