mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
This brings the scripts and the container in use back into sync. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
34 lines
819 B
YAML
34 lines
819 B
YAML
name: Android
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
pull_request:
|
|
branches:
|
|
- master
|
|
|
|
jobs:
|
|
buildInContainer:
|
|
runs-on: ubuntu-latest
|
|
container:
|
|
image: docker://subsurface/android-build-container:5.15.1
|
|
|
|
steps:
|
|
- name: checkout sources
|
|
uses: actions/checkout@v1
|
|
|
|
- name: run build
|
|
run: |
|
|
# this is rather awkward, but it allows us to use the preinstalled
|
|
# Android and Qt versions with relative paths
|
|
cd $GITHUB_WORKSPACE/..
|
|
ln -s /android/5.15.* .
|
|
ln -s /android/build-tools .
|
|
ln -s /android/cmdline-tools .
|
|
ln -s /android/ndk .
|
|
ln -s /android/platform-tools .
|
|
ln -s /android/platforms .
|
|
ln -s /android/tools .
|
|
ls -l
|
|
bash -x ./subsurface/packaging/android/qmake-build.sh
|
|
|