1
0
mirror of https://github.com/QtExcel/QXlsx.git synced 2025-01-30 05:02:52 +08:00
QXlsx/.github/workflows/android.yml
Workflow config file is invalid. Please check your config file: yaml: line 7: did not find expected '-' indicator
2020-01-14 21:02:48 +09:00

64 lines
1.6 KiB
YAML

# base code from https://github.com/jaredtao/HelloActions-Qt
# android.yml
name: Android
on:
push:
paths-ignore:
- 'Example.md'
- 'HowToSetProject.ko.md'
- 'HowToSetProject.md'
- 'README.ko.md'
- 'README.md'
- 'TestEnv.md'
- 'ToTest.md'
- 'ToUpgrade.md'
- 'Vision.md
- 'LICENSE'
- '.github/workflows/ubuntu.yml'
- '.github/workflows/windows.yml'
- '.github/workflows/macos.yml'
- '.github/workflows/ios.yml'
pull_request:
paths-ignore:
- 'Example.md'
- 'HowToSetProject.ko.md'
- 'HowToSetProject.md'
- 'README.ko.md'
- 'README.md'
- 'TestEnv.md'
- 'ToTest.md'
- 'ToUpgrade.md'
- 'Vision.md
- 'LICENSE'
- '.github/workflows/ubuntu.yml'
- '.github/workflows/windows.yml'
- '.github/workflows/macos.yml'
- '.github/workflows/ios.yml'
jobs:
build:
name: Build
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
qt_ver: [5.12.6]
qt_target: [android]
qt_arch: [android_x86,android_armv7]
steps:
- name: Install Qt
uses: jurplel/install-qt-action@v2.0.0
with:
version: ${{ matrix.qt_ver }}
target: ${{ matrix.qt_target }}
arch: ${{ matrix.qt_arch }}
- 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
cd HelloAndroid
qmake
make