From 9fa597bb587160c5e131f59dfceb995c62a4c75c Mon Sep 17 00:00:00 2001 From: xiphon Date: Thu, 22 Oct 2020 03:19:31 +0000 Subject: [PATCH] workflows: docker android apk build --- .github/workflows/build.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2c9c5599..92672db6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -91,3 +91,19 @@ jobs: run: docker build --tag monero:build-env-windows --build-arg THREADS=3 --file Dockerfile.windows . - name: build run: docker run --rm -v /home/runner/work/monero-gui/monero-gui:/monero-gui -w /monero-gui monero:build-env-windows sh -c 'make depends root=/depends target=x86_64-w64-mingw32 tag=win-x64 -j3' + + docker-android: + runs-on: ubuntu-20.04 + steps: + - uses: actions/checkout@v1 + with: + submodules: recursive + - name: preprare build enviroment + run: docker build --tag monero:build-env-android --build-arg THREADS=3 --file Dockerfile.android . + - name: build + run: docker run --rm -v /home/runner/work/monero-gui/monero-gui:/monero-gui -e THREADS=3 monero:build-env-android + - uses: actions/upload-artifact@v2 + with: + name: ${{ github.job }} + path: /home/runner/work/monero-gui/monero-gui/build/Android/release/android-build/monero-gui.apk +