From 27533e57a862288a22f6880f5591aa3c1c057cb2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20Jos=C3=A9=20Pereira?= Date: Thu, 29 Jul 2021 14:25:05 -0400 Subject: [PATCH] github: Add android build MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Patrick José Pereira --- .github/workflows/android_build.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/android_build.yml 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