1
0
mirror of https://github.com/jaredtao/TaoQuick.git synced 2025-01-31 21:22:58 +08:00
TaoQuick/.github/workflows/ios-macos10_15-qt5_12_10.yml

49 lines
1.3 KiB
YAML
Raw Normal View History

2020-12-01 23:23:15 +08:00
name: ios-macos10_15-qt5_12_10
2019-12-07 15:45:19 +08:00
on:
push:
paths-ignore:
2020-12-01 18:35:27 +08:00
- '*.md'
- 'LICENSE'
- "doc/**"
- "preview/**"
2020-12-01 23:23:15 +08:00
- ".github/workflows/android*.yml"
- ".github/workflows/macos*.yml"
- ".github/workflows/ubuntu*.yml"
- ".github/workflows/windows*.yml"
2020-12-01 18:35:27 +08:00
# pull_request时触发workflow
2019-12-07 15:45:19 +08:00
pull_request:
paths-ignore:
- 'README.md'
2020-12-01 18:35:27 +08:00
- 'LICENSE'
- "doc/**"
- "preview/**"
2020-12-01 23:23:15 +08:00
- ".github/workflows/android*.yml"
- ".github/workflows/macos*.yml"
- ".github/workflows/ubuntu*.yml"
- ".github/workflows/windows*.yml"
2019-12-07 15:45:19 +08:00
jobs:
build:
name: Build
runs-on: ${{ matrix.os }}
strategy:
matrix:
2020-12-01 18:46:33 +08:00
os: [macos-10.15]
2020-12-01 23:23:15 +08:00
qt_ver: [5.12.10]
2019-12-07 15:45:19 +08:00
qt_target: [ios]
steps:
- name: Install Qt
# if: steps.cacheqt.outputs.cache-hit != 'true'
2020-12-01 18:35:27 +08:00
uses: jurplel/install-qt-action@v2.10.0
2019-12-07 15:45:19 +08:00
with:
# Version of Qt to install
version: ${{ matrix.qt_ver }}
# Target platform for build
target: ${{ matrix.qt_target }}
- uses: actions/checkout@v1
with:
fetch-depth: 1
- name: build ios
run: |
qmake -r -spec macx-ios-clang CONFIG+=release CONFIG+=iphoneos
make