You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
631 B
27 lines
631 B
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 |