File tree 1 file changed +52
-0
lines changed
1 file changed +52
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Android CI
2
+
3
+ on :
4
+ push :
5
+ branches : [ "main" ]
6
+ pull_request :
7
+ branches : [ "main" ]
8
+
9
+ jobs :
10
+ build :
11
+
12
+ runs-on : ubuntu-latest
13
+
14
+ steps :
15
+ - uses : actions/checkout@v4
16
+ - name : set up JDK 17
17
+ uses : actions/setup-java@v4
18
+ with :
19
+ java-version : ' 17'
20
+ distribution : ' temurin'
21
+ cache : gradle
22
+
23
+ - name : Install dependencies
24
+ - working-directory : test-app/build-tools/jsparser
25
+ - run : npm install
26
+
27
+ - name : Grant execute permission for gradlew
28
+ run : chmod +x gradlew
29
+
30
+ - name : Build with V8
31
+ run : ./gradlew -Pengine=V8
32
+
33
+ - name : Build with QUICKJS
34
+ run : ./gradlew -Pengine=QUICKJS
35
+
36
+ - name : Build with JSC
37
+ run : ./gradlew -Pengine=JSC
38
+
39
+ - name : Build with HERMES
40
+ run : ./gradlew -Pengine=HERMES
41
+
42
+ - name : Upload artifacts
43
+ - uses : actions/upload-artifact@v4
44
+ with :
45
+ name : release
46
+ path : |
47
+ ./dist_v8
48
+ ./dist_jsc
49
+ ./dist_hermes
50
+ ./dist_quickjs
51
+
52
+
You can’t perform that action at this time.
0 commit comments