1
0
mirror of https://github.com/QtExcel/QXlsx.git synced 2025-01-30 05:02:52 +08:00
QXlsx/.github/workflows/android.yml

57 lines
1.3 KiB
YAML
Raw Normal View History

2020-01-14 21:11:18 +09:00
# android.yml
2020-01-14 21:07:09 +09:00
# base code from https://github.com/jaredtao/HelloActions-Qt
name: Android
on:
push:
paths-ignore:
2020-01-14 21:02:48 +09:00
- 'Example.md'
- 'HowToSetProject.ko.md'
- 'HowToSetProject.md'
- 'README.ko.md'
- 'README.md'
2020-01-14 21:02:48 +09:00
- 'TestEnv.md'
- 'ToTest.md'
- 'ToUpgrade.md'
2020-01-14 21:20:21 +09:00
- 'Vision.md'
2020-01-14 21:02:48 +09:00
- 'LICENSE'
pull_request:
paths-ignore:
2020-01-14 21:02:48 +09:00
- 'Example.md'
- 'HowToSetProject.ko.md'
- 'HowToSetProject.md'
- 'README.ko.md'
- 'README.md'
2020-01-14 21:02:48 +09:00
- 'TestEnv.md'
- 'ToTest.md'
- 'ToUpgrade.md'
2020-01-14 21:20:21 +09:00
- 'Vision.md'
2020-01-14 21:02:48 +09:00
- 'LICENSE'
jobs:
build:
name: Build
runs-on: ${{ matrix.os }}
strategy:
matrix:
2021-03-12 21:00:53 +09:00
os: [ubuntu-20.04]
qt_ver: [5.12.10]
qt_target: [android]
2021-03-12 21:00:53 +09:00
qt_arch: [android_x86,android_armv7,android_arm64_v8a]
steps:
- name: Install Qt
2022-10-17 09:24:00 -03:00
uses: jurplel/install-qt-action@v3
with:
version: ${{ matrix.qt_ver }}
target: ${{ matrix.qt_target }}
arch: ${{ matrix.qt_arch }}
2021-03-12 21:00:53 +09:00
- uses: actions/checkout@v2
with:
fetch-depth: 1
- name: build android
run: |
export ANDROID_SDK_ROOT=$ANDROID_HOME
export ANDROID_NDK_ROOT=$ANDROID_HOME/ndk-bundle
cd HelloAndroid
qmake
2021-01-03 20:39:44 +09:00
make