diff --git a/.github/workflows/android_build.yml b/.github/workflows/android_build.yml new file mode 100644 index 0000000..cbefd8e --- /dev/null +++ b/.github/workflows/android_build.yml @@ -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 \ No newline at end of file