File tree Expand file tree Collapse file tree 3 files changed +41
-1
lines changed Expand file tree Collapse file tree 3 files changed +41
-1
lines changed Original file line number Diff line number Diff line change
1
+ version : 2
2
+
3
+ jobs :
4
+ build :
5
+ working_directory : ~/jsc-android-buildscripts
6
+ docker :
7
+ - image : gengjiawen/jsc-android-buildscripts
8
+ steps :
9
+ - checkout
10
+ - restore_cache :
11
+ keys :
12
+ - v1-dependencies-{{ checksum "package.json" }}
13
+ # fallback to using the latest cache if no exact match is found
14
+ - v1-dependencies-
15
+ - run : npm install
16
+ - save_cache :
17
+ paths :
18
+ - node_modules
19
+ key : v1-dependencies-{{ checksum "package.json" }}
20
+ - run : npm run download
21
+ - run : npm run prep
22
+ - run : npm run start
23
+ - run :
24
+ name : Build Android
25
+ command : |
26
+ cd measure
27
+ npm install
28
+ cd android && ./gradlew assembleRelease
29
+
30
+ workflows :
31
+ version : 2
32
+ build_and_test :
33
+ jobs :
34
+ - build
Original file line number Diff line number Diff line change
1
+ FROM gengjiawen/android-ndk
2
+
3
+ RUN apt update && \
4
+ apt install curl git subversion python-dev ruby gperf -y && \
5
+ curl -sL https://deb.nodesource.com/setup_8.x | bash - && \
6
+ apt install -y nodejs
Original file line number Diff line number Diff line change @@ -13,4 +13,4 @@ cd $ROOTDIR/lib
13
13
cd $ROOTDIR
14
14
15
15
npm run info
16
- say -v Carmit " I am not slacking off, my code's compiling."
16
+ echo " I am not slacking off, my code is compiling."
You can’t perform that action at this time.
0 commit comments