File tree Expand file tree Collapse file tree 3 files changed +27
-0
lines changed Expand file tree Collapse file tree 3 files changed +27
-0
lines changed Original file line number Diff line number Diff line change 77 - uses : actions/checkout@v2
88 - name : Docker build
99 run : ./docker-build.sh
10+ - name : Build Android application
11+ run : |
12+ docker run \
13+ --rm \
14+ --cap-drop=all \
15+ --security-opt no-new-privileges \
16+ --read-only \
17+ -u dev \
18+ --memory=3072m \
19+ --memory-swap=3072m \
20+ --memory-swappiness=0 \
21+ --env USER=dev \
22+ --tmpfs /tmp:size=16m \
23+ --tmpfs /home/dev/build:exec,size=512m \
24+ --tmpfs /home/dev/.gradle:exec,size=512m \
25+ --tmpfs /home/dev/.android:size=1m \
26+ --tmpfs /home/dev/.cargo/registry:size=16m \
27+ --entrypoint /home/dev/build-application.sh \
28+ android-rust-simd
Original file line number Diff line number Diff line change @@ -125,6 +125,7 @@ ENV PATH=${PATH}:/home/dev/.cargo/bin
125125USER root
126126
127127COPY \
128+ scripts/build-application.sh \
128129 scripts/strip-rust.sh \
129130 scripts/script-rust-default.sh \
130131 scripts/script-rust-default-nostrip.sh \
@@ -139,6 +140,7 @@ COPY \
139140 scripts/launch-app-release.sh \
140141 /home/dev/
141142RUN chmod 555 \
143+ /home/dev/build-application.sh \
142144 /home/dev/strip-rust.sh \
143145 /home/dev/script-rust-default.sh \
144146 /home/dev/script-rust-default-nostrip.sh \
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ set -eux
4+
5+ ./script-rust-nightly.sh
6+ ./script-java.sh
You can’t perform that action at this time.
0 commit comments