1
0
mirror of https://github.com/jaredtao/TaoQuick.git synced 2025-02-06 21:48:24 +08:00
TaoQuick/.github/workflows/android-qt5_15_2.yml

52 lines
1.3 KiB
YAML
Raw Normal View History

2020-12-01 23:23:15 +08:00
name: android-qt5_15_2
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 20:42:49 +08:00
- ".github/workflows/ios.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 20:42:49 +08:00
- ".github/workflows/ios.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 23:23:15 +08:00
os: [ubuntu-20.04]
qt_ver: [5.15.2]
2019-12-07 15:45:19 +08:00
qt_target: [android]
2020-12-02 08:52:00 +08:00
2019-12-07 15:45:19 +08:00
steps:
2020-12-02 08:52:00 +08:00
- name: Install Qt 5.15.2
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
2020-12-02 08:52:00 +08:00
target: android
2019-12-07 15:45:19 +08:00
# Architecture for Windows/Android
2020-12-02 08:52:00 +08:00
# arch: ${{ matrix.qt_arch }}
2019-12-07 15:45:19 +08:00
- uses: actions/checkout@v1
with:
fetch-depth: 1
- name: build android
run: |
export ANDROID_SDK_ROOT=$ANDROID_HOME
export ANDROID_NDK_ROOT=$ANDROID_HOME/ndk-bundle
qmake
make