File tree Expand file tree Collapse file tree 4 files changed +13
-21
lines changed
scripts/docker/android-build-container Expand file tree Collapse file tree 4 files changed +13
-21
lines changed Original file line number Diff line number Diff line change 1
1
name: Android Docker Image CI
2
2
3
- # -- disabled for now, as the resulting image is HUGE and causes our
4
- # Android builds to fail
5
- #on:
6
- # push:
7
- # paths:
8
- # - scripts/docker/android-build-container/Dockerfile
9
- # - .github/workflows/android-docker*
10
-
11
- # this is here to prevent errors about not having an on: clause
12
3
on:
13
- repository_dispatch:
14
- types:
15
- - unused
4
+ - workflow_dispatch
5
+ - push:
6
+ paths:
7
+ - scripts/docker/android-build-container
8
+ - .github/workflows/android-docker*
9
+ - packaging/android/android-build-setup.sh
10
+ - packaging/android/variables.sh
16
11
17
12
jobs:
18
13
android-build-container:
19
14
runs-on: ubuntu-latest
20
15
env:
21
- VERSION: ${{ '5.13.10 ' }} # the version numbers here is based on the Qt version, the third digit is the rev of the docker image
16
+ VERSION: ${{ '5.15.2 ' }} # the version numbers here is based on the Qt version, the third digit is the rev of the docker image
22
17
23
18
steps:
24
19
- uses: actions/checkout@v1
25
20
26
21
- name: Get our pre-reqs
27
22
run: |
28
23
cd scripts/docker/android-build-container
29
- bash download.sh
30
- sed -ie 's/^sudo/#sudo/' setup-docker.sh
31
24
bash setup-docker.sh
32
25
33
26
- name: set env
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ RUN apt-get update && \
15
15
16
16
WORKDIR /android
17
17
18
+ # Scrape the manually curated Qt install from the previous build image
18
19
COPY --from=base /android/5.15.1 5.15.1
19
20
20
21
# install, NDK and SDK there, plus the three files from the Subsurface
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 16
16
cp ../../../packaging/android/android-build-setup.sh .
17
17
cp ../../../packaging/android/variables.sh .
18
18
19
+ if [ $1 == " -no-docker-build" ]; then
20
+ exit 0
21
+ fi
22
+
19
23
# create the container (this takes a while)
20
24
docker build -t android-build .
You can’t perform that action at this time.
0 commit comments