1 changed files with 27 additions and 0 deletions
@ -0,0 +1,27 @@
@@ -0,0 +1,27 @@
|
||||
name: Android build |
||||
|
||||
on: [push, pull_request] |
||||
|
||||
defaults: |
||||
run: |
||||
shell: bash |
||||
jobs: |
||||
build: |
||||
runs-on: ubuntu-latest |
||||
|
||||
steps: |
||||
- name: Checkout repo |
||||
uses: actions/checkout@v2 |
||||
with: |
||||
submodules: recursive |
||||
|
||||
- name: Build |
||||
run: | |
||||
mkdir build |
||||
sudo docker run -t --mount type=bind,source=$PWD,target=/home/user/qgroundcontrol --user root williangalvani/qgc-android-build |
||||
|
||||
- name: Save artifact |
||||
uses: actions/upload-artifact@master |
||||
with: |
||||
name: QGroundControl.apk |
||||
path: build/dist/build/outputs/apk/dist-release-unsigned.apk |
Loading…
Reference in new issue