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 7
7
- uses : actions/checkout@v2
8
8
- name : Docker build
9
9
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
125
125
USER root
126
126
127
127
COPY \
128
+ scripts/build-application.sh \
128
129
scripts/strip-rust.sh \
129
130
scripts/script-rust-default.sh \
130
131
scripts/script-rust-default-nostrip.sh \
@@ -139,6 +140,7 @@ COPY \
139
140
scripts/launch-app-release.sh \
140
141
/home/dev/
141
142
RUN chmod 555 \
143
+ /home/dev/build-application.sh \
142
144
/home/dev/strip-rust.sh \
143
145
/home/dev/script-rust-default.sh \
144
146
/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