Skip to content

Commit fea6c1b

Browse files
authored
v2.2 (#495)
1 parent a55a55b commit fea6c1b

File tree

546 files changed

+8975
-4210
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

546 files changed

+8975
-4210
lines changed

.github/workflows/android-appcenter.yml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,17 @@ on:
55
push:
66
branches: [ master ]
77
paths:
8-
- 'demo/android/Activity/rhino-activity-demo-app/build.gradle'
98
- '.github/workflows/android-appcenter.yml'
9+
- 'demo/android/Activity/**'
10+
- 'resources/.test/**'
11+
- 'resources/audio_samples/**'
1012
pull_request:
11-
branches: [ master ]
13+
branches: [ master, 'v[0-9]+.[0-9]+' ]
1214
paths:
13-
- 'demo/android/Activity/rhino-activity-demo-app/build.gradle'
1415
- '.github/workflows/android-appcenter.yml'
16+
- 'demo/android/Activity/**'
17+
- 'resources/.test/**'
18+
- 'resources/audio_samples/**'
1519

1620
defaults:
1721
run:
@@ -23,7 +27,7 @@ jobs:
2327
runs-on: ubuntu-latest
2428

2529
steps:
26-
- uses: actions/checkout@v2
30+
- uses: actions/checkout@v3
2731

2832
- name: Setup Node.js environment
2933
uses: actions/setup-node@v2.4.0
@@ -32,10 +36,10 @@ jobs:
3236
run: npm install -g appcenter-cli
3337

3438
- name: set up JDK 11
35-
uses: actions/setup-java@v2
39+
uses: actions/setup-java@v3
3640
with:
3741
java-version: '11'
38-
distribution: 'adopt'
42+
distribution: 'temurin'
3943

4044
- name: Copy test_resources
4145
run: ./copy_test_resources.sh

.github/workflows/android-perf.yml

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,13 @@ on:
55
push:
66
branches: [ master ]
77
paths:
8-
- 'lib/android/**'
9-
- 'lib/common/**'
10-
- 'resources/contexts/android/**'
118
- '.github/workflows/android-perf.yml'
9+
- 'demo/android/Activity/**/build.gradle'
1210
pull_request:
13-
branches: [ master ]
11+
branches: [ master, 'v[0-9]+.[0-9]+' ]
1412
paths:
15-
- 'lib/android/**'
16-
- 'lib/common/**'
17-
- 'resources/contexts/android/**'
1813
- '.github/workflows/android-perf.yml'
14+
- 'demo/android/Activity/**/build.gradle'
1915

2016
defaults:
2117
run:
@@ -33,10 +29,10 @@ jobs:
3329
- device: single-android
3430
performanceThresholdSec: 0.2
3531
- device: 32bit-android
36-
performanceThresholdSec: 0.4
32+
performanceThresholdSec: 1.0
3733

3834
steps:
39-
- uses: actions/checkout@v2
35+
- uses: actions/checkout@v3
4036

4137
- name: Setup Node.js environment
4238
uses: actions/setup-node@v2.4.0
@@ -45,7 +41,7 @@ jobs:
4541
run: npm install -g appcenter-cli
4642

4743
- name: set up JDK 11
48-
uses: actions/setup-java@v2
44+
uses: actions/setup-java@v3
4945
with:
5046
java-version: '11'
5147
distribution: 'adopt'
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: Angular Codestyle
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
branches: [ master ]
7+
paths:
8+
- '**/angular/*.js'
9+
- '**/angular/*.ts'
10+
- '.github/workflows/angular-codestyle.yml'
11+
pull_request:
12+
branches: [ master, 'v[0-9]+.[0-9]+' ]
13+
paths:
14+
- '**/angular/*.js'
15+
- '**/angular/*.ts'
16+
- '.github/workflows/angular-codestyle.yml'
17+
18+
jobs:
19+
check-angular-codestyle:
20+
runs-on: ubuntu-latest
21+
22+
steps:
23+
- uses: actions/checkout@v3
24+
25+
- name: Set up Node.js lts/*
26+
uses: actions/setup-node@v3
27+
with:
28+
node-version: lts/*
29+
30+
- name: Pre-build dependencies
31+
run: npm install yarn
32+
33+
- name: Run Binding Linter
34+
run: yarn && yarn lint
35+
working-directory: binding/angular
36+
37+
- name: Run Demo Linter
38+
run: yarn && yarn lint
39+
working-directory: demo/angular

.github/workflows/angular-demos.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
- '!demo/angular/README.md'
1010
- '.github/workflows/angular-demos.yml'
1111
pull_request:
12-
branches: [ master ]
12+
branches: [ master, 'v[0-9]+.[0-9]+' ]
1313
paths:
1414
- 'demo/angular/**'
1515
- '!demo/angular/README.md'
@@ -28,10 +28,10 @@ jobs:
2828
node-version: [14.x, 16.x, 18.x]
2929

3030
steps:
31-
- uses: actions/checkout@v2
31+
- uses: actions/checkout@v3
3232

3333
- name: Use Node.js ${{ matrix.node-version }}
34-
uses: actions/setup-node@v2
34+
uses: actions/setup-node@v3
3535
with:
3636
node-version: ${{ matrix.node-version }}
3737

.github/workflows/angular.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111
- 'resources/contexts/wasm/**'
1212
- '.github/workflows/angular.yml'
1313
pull_request:
14-
branches: [ master ]
14+
branches: [ master, 'v[0-9]+.[0-9]+' ]
1515
paths:
1616
- 'binding/angular/**'
1717
- '!binding/angular/README.md'
@@ -32,10 +32,10 @@ jobs:
3232
node-version: [14.x, 16.x, 18.x]
3333

3434
steps:
35-
- uses: actions/checkout@v2
35+
- uses: actions/checkout@v3
3636

3737
- name: Use Node.js ${{ matrix.node-version }}
38-
uses: actions/setup-node@v2
38+
uses: actions/setup-node@v3
3939
with:
4040
node-version: ${{ matrix.node-version }}
4141

@@ -50,7 +50,7 @@ jobs:
5050

5151
- name: Lint
5252
run: yarn lint
53-
53+
5454
- name: Setup test
5555
run: yarn setup-test
5656

.github/workflows/c-demos.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,45 +5,45 @@ on:
55
push:
66
branches: [ master ]
77
paths:
8-
- 'demo/c/**'
98
- '!demo/c/README.md'
9+
- '.github/workflows/c-demos.yml'
10+
- 'demo/c/**'
1011
- 'lib/beaglebone/**'
1112
- 'lib/common/**'
1213
- 'lib/jetson/**'
1314
- 'lib/linux/**'
1415
- 'lib/mac/**'
1516
- 'lib/raspberry-pi/**'
1617
- 'lib/windows/**'
18+
- 'resources/.test/**'
1719
- 'resources/audio_samples/**'
1820
- 'resources/contexts*/beaglebone/**'
1921
- 'resources/contexts*/jetson/**'
2022
- 'resources/contexts*/linux/**'
2123
- 'resources/contexts*/mac/**'
2224
- 'resources/contexts*/raspberry-pi/**'
2325
- 'resources/contexts*/windows/**'
24-
- 'resources/test/**'
25-
- '.github/workflows/c-demos.yml'
2626
pull_request:
27-
branches: [ master ]
27+
branches: [ master, 'v[0-9]+.[0-9]+' ]
2828
paths:
29-
- 'demo/c/**'
3029
- '!demo/c/README.md'
30+
- '.github/workflows/c-demos.yml'
31+
- 'demo/c/**'
3132
- 'lib/beaglebone/**'
3233
- 'lib/common/**'
3334
- 'lib/jetson/**'
3435
- 'lib/linux/**'
3536
- 'lib/mac/**'
3637
- 'lib/raspberry-pi/**'
3738
- 'lib/windows/**'
39+
- 'resources/.test/**'
3840
- 'resources/audio_samples/**'
3941
- 'resources/contexts*/beaglebone/**'
4042
- 'resources/contexts*/jetson/**'
4143
- 'resources/contexts*/linux/**'
4244
- 'resources/contexts*/mac/**'
4345
- 'resources/contexts*/raspberry-pi/**'
4446
- 'resources/contexts*/windows/**'
45-
- 'resources/test/**'
46-
- '.github/workflows/c-demos.yml'
4747

4848
defaults:
4949
run:
@@ -58,7 +58,7 @@ jobs:
5858
os: [ubuntu-latest, windows-latest, macos-latest]
5959

6060
steps:
61-
- uses: actions/checkout@v2
61+
- uses: actions/checkout@v3
6262
with:
6363
submodules: recursive
6464

@@ -76,7 +76,7 @@ jobs:
7676
machine: [rpi2, rpi3-32, rpi3-64, rpi4-32, rpi4-64, jetson, beaglebone]
7777

7878
steps:
79-
- uses: actions/checkout@v2
79+
- uses: actions/checkout@v3
8080
with:
8181
submodules: recursive
8282

@@ -109,7 +109,7 @@ jobs:
109109
submodules: recursive
110110

111111
- name: Set up Python '3.10'
112-
uses: actions/setup-python@v2
112+
uses: actions/setup-python@v4
113113
with:
114114
python-version: '3.10'
115115

@@ -155,7 +155,7 @@ jobs:
155155
arch: ''
156156

157157
steps:
158-
- uses: actions/checkout@v2
158+
- uses: actions/checkout@v3
159159
with:
160160
submodules: recursive
161161

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: .NET Codestyle
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
branches: [ master ]
7+
paths:
8+
- 'binding/dotnet/**/*.cs'
9+
- 'demo/dotnet/**/*.cs'
10+
- '.github/workflows/dotnet-codestyle.yml'
11+
pull_request:
12+
branches: [ master, 'v[0-9]+.[0-9]+' ]
13+
paths:
14+
- 'binding/dotnet/**/*.cs'
15+
- 'demo/dotnet/**/*.cs'
16+
- '.github/workflows/dotnet-codestyle.yml'
17+
18+
jobs:
19+
check-dotnet-codestyle:
20+
runs-on: ubuntu-latest
21+
22+
steps:
23+
- uses: actions/checkout@v3
24+
25+
- name: Setup .NET 6.0
26+
uses: actions/setup-dotnet@v3
27+
with:
28+
dotnet-version: 6.0.x
29+
30+
- name: Run Binding Codestyle
31+
run: dotnet format --verify-no-changes
32+
working-directory: binding/dotnet
33+
34+
- name: Run Demo Codestyle
35+
run: dotnet format --verify-no-changes
36+
working-directory: demo/dotnet

.github/workflows/dotnet-demos.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
- '!demo/dotnet/README.md'
1010
- '.github/workflows/dotnet-demos.yml'
1111
pull_request:
12-
branches: [ master ]
12+
branches: [ master, 'v[0-9]+.[0-9]+' ]
1313
paths:
1414
- 'demo/dotnet/**'
1515
- '!demo/dotnet/README.md'
@@ -24,10 +24,10 @@ jobs:
2424
runs-on: ubuntu-latest
2525

2626
steps:
27-
- uses: actions/checkout@v2
27+
- uses: actions/checkout@v3
2828

2929
- name: Setup .NET 6.0
30-
uses: actions/setup-dotnet@v1
30+
uses: actions/setup-dotnet@v3
3131
with:
3232
dotnet-version: 6.0.x
3333

@@ -41,10 +41,10 @@ jobs:
4141
runs-on: ubuntu-latest
4242

4343
steps:
44-
- uses: actions/checkout@v2
44+
- uses: actions/checkout@v3
4545

4646
- name: Setup .NET 6.0
47-
uses: actions/setup-dotnet@v1
47+
uses: actions/setup-dotnet@v3
4848
with:
4949
dotnet-version: 6.0.x
5050

0 commit comments

Comments
 (0)