Skip to content

Commit fb76b80

Browse files
committed
ci: update workflows
1 parent d9ebc09 commit fb76b80

File tree

4 files changed

+103
-13
lines changed

4 files changed

+103
-13
lines changed
Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Android CI
1+
name: Build with Hermes
22

33
on: workflow_dispatch
44

@@ -21,15 +21,6 @@ jobs:
2121
- name: Grant execute permission for gradlew
2222
run: chmod +x gradlew
2323

24-
- name: Build with V8
25-
run: ./gradlew -Pengine=V8
26-
27-
- name: Build with QUICKJS
28-
run: ./gradlew -Pengine=QUICKJS
29-
30-
- name: Build with JSC
31-
run: ./gradlew -Pengine=JSC
32-
3324
- name: Build with HERMES
3425
run: ./gradlew -Pengine=HERMES
3526

@@ -38,9 +29,6 @@ jobs:
3829
with:
3930
name: release
4031
path: |
41-
./dist_v8
42-
./dist_jsc
4332
./dist_hermes
44-
./dist_quickjs
4533
4634

.github/workflows/build_jsc.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Build with JSC
2+
3+
on: workflow_dispatch
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v4
10+
- name: set up JDK 17
11+
uses: actions/setup-java@v4
12+
with:
13+
java-version: '17'
14+
distribution: 'temurin'
15+
16+
- name: Install dependencies
17+
run: |
18+
cd test-app/build-tools/jsparser
19+
npm install
20+
21+
- name: Grant execute permission for gradlew
22+
run: chmod +x gradlew
23+
24+
- name: Build with JSC
25+
run: ./gradlew -Pengine=JSC
26+
27+
- name: Upload artifacts
28+
uses: actions/upload-artifact@v4
29+
with:
30+
name: release
31+
path: |
32+
./dist_jsc
33+
34+
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Build with QuickJS
2+
3+
on: workflow_dispatch
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v4
10+
- name: set up JDK 17
11+
uses: actions/setup-java@v4
12+
with:
13+
java-version: '17'
14+
distribution: 'temurin'
15+
16+
- name: Install dependencies
17+
run: |
18+
cd test-app/build-tools/jsparser
19+
npm install
20+
21+
- name: Grant execute permission for gradlew
22+
run: chmod +x gradlew
23+
24+
- name: Build with QUICKJS
25+
run: ./gradlew -Pengine=QUICKJS
26+
27+
- name: Upload artifacts
28+
uses: actions/upload-artifact@v4
29+
with:
30+
name: release
31+
path: |
32+
./dist_quickjs
33+
34+

.github/workflows/build_v8.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Build with V8
2+
3+
on: workflow_dispatch
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v4
10+
- name: set up JDK 17
11+
uses: actions/setup-java@v4
12+
with:
13+
java-version: '17'
14+
distribution: 'temurin'
15+
16+
- name: Install dependencies
17+
run: |
18+
cd test-app/build-tools/jsparser
19+
npm install
20+
21+
- name: Grant execute permission for gradlew
22+
run: chmod +x gradlew
23+
24+
- name: Build with V8
25+
run: ./gradlew -Pengine=V8
26+
27+
- name: Upload artifacts
28+
uses: actions/upload-artifact@v4
29+
with:
30+
name: release
31+
path: |
32+
./dist_v8
33+
34+

0 commit comments

Comments
 (0)