update property #295
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: IOS | |
on: | |
# push代码时触发workflow | |
push: | |
paths: | |
- '3rdparty/**' | |
- 'examples/**' | |
- 'mkspecs/**' | |
- 'src/**' | |
- '.qmake.conf' | |
- 'TaoQuick.pro' | |
- '.github/workflows/ios.yml' | |
# pull_request时触发workflow | |
pull_request: | |
paths: | |
- '3rdparty/**' | |
- 'examples/**' | |
- 'mkspecs/**' | |
- 'src/**' | |
- '.qmake.conf' | |
- 'TaoQuick.pro' | |
- '.github/workflows/ios.yml' | |
jobs: | |
build: | |
name: Build | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [macos-10.15] | |
qt_ver: [5.12.10,5.15.2] | |
qt_target: [ios] | |
steps: | |
- name: Install Qt | |
# if: steps.cacheqt.outputs.cache-hit != 'true' | |
uses: jurplel/install-qt-action@v2 | |
with: | |
# Version of Qt to install | |
version: ${{ matrix.qt_ver }} | |
# Target platform for build | |
target: ${{ matrix.qt_target }} | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 1 | |
submodules: 'true' | |
- name: build ios | |
run: | | |
qmake -r -spec macx-ios-clang CONFIG+=release CONFIG+=iphoneos | |
make |