Skip to content

Commit

Permalink
v2.2 (#495)
Browse files Browse the repository at this point in the history
  • Loading branch information
laves authored Apr 13, 2023
1 parent a55a55b commit fea6c1b
Show file tree
Hide file tree
Showing 546 changed files with 8,975 additions and 4,210 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/android-appcenter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,17 @@ on:
push:
branches: [ master ]
paths:
- 'demo/android/Activity/rhino-activity-demo-app/build.gradle'
- '.github/workflows/android-appcenter.yml'
- 'demo/android/Activity/**'
- 'resources/.test/**'
- 'resources/audio_samples/**'
pull_request:
branches: [ master ]
branches: [ master, 'v[0-9]+.[0-9]+' ]
paths:
- 'demo/android/Activity/rhino-activity-demo-app/build.gradle'
- '.github/workflows/android-appcenter.yml'
- 'demo/android/Activity/**'
- 'resources/.test/**'
- 'resources/audio_samples/**'

defaults:
run:
Expand All @@ -23,7 +27,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Setup Node.js environment
uses: actions/[email protected]
Expand All @@ -32,10 +36,10 @@ jobs:
run: npm install -g appcenter-cli

- name: set up JDK 11
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'adopt'
distribution: 'temurin'

- name: Copy test_resources
run: ./copy_test_resources.sh
Expand Down
16 changes: 6 additions & 10 deletions .github/workflows/android-perf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,13 @@ on:
push:
branches: [ master ]
paths:
- 'lib/android/**'
- 'lib/common/**'
- 'resources/contexts/android/**'
- '.github/workflows/android-perf.yml'
- 'demo/android/Activity/**/build.gradle'
pull_request:
branches: [ master ]
branches: [ master, 'v[0-9]+.[0-9]+' ]
paths:
- 'lib/android/**'
- 'lib/common/**'
- 'resources/contexts/android/**'
- '.github/workflows/android-perf.yml'
- 'demo/android/Activity/**/build.gradle'

defaults:
run:
Expand All @@ -33,10 +29,10 @@ jobs:
- device: single-android
performanceThresholdSec: 0.2
- device: 32bit-android
performanceThresholdSec: 0.4
performanceThresholdSec: 1.0

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Setup Node.js environment
uses: actions/[email protected]
Expand All @@ -45,7 +41,7 @@ jobs:
run: npm install -g appcenter-cli

- name: set up JDK 11
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'adopt'
Expand Down
39 changes: 39 additions & 0 deletions .github/workflows/angular-codestyle.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Angular Codestyle

on:
workflow_dispatch:
push:
branches: [ master ]
paths:
- '**/angular/*.js'
- '**/angular/*.ts'
- '.github/workflows/angular-codestyle.yml'
pull_request:
branches: [ master, 'v[0-9]+.[0-9]+' ]
paths:
- '**/angular/*.js'
- '**/angular/*.ts'
- '.github/workflows/angular-codestyle.yml'

jobs:
check-angular-codestyle:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Set up Node.js lts/*
uses: actions/setup-node@v3
with:
node-version: lts/*

- name: Pre-build dependencies
run: npm install yarn

- name: Run Binding Linter
run: yarn && yarn lint
working-directory: binding/angular

- name: Run Demo Linter
run: yarn && yarn lint
working-directory: demo/angular
6 changes: 3 additions & 3 deletions .github/workflows/angular-demos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
- '!demo/angular/README.md'
- '.github/workflows/angular-demos.yml'
pull_request:
branches: [ master ]
branches: [ master, 'v[0-9]+.[0-9]+' ]
paths:
- 'demo/angular/**'
- '!demo/angular/README.md'
Expand All @@ -28,10 +28,10 @@ jobs:
node-version: [14.x, 16.x, 18.x]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/angular.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
- 'resources/contexts/wasm/**'
- '.github/workflows/angular.yml'
pull_request:
branches: [ master ]
branches: [ master, 'v[0-9]+.[0-9]+' ]
paths:
- 'binding/angular/**'
- '!binding/angular/README.md'
Expand All @@ -32,10 +32,10 @@ jobs:
node-version: [14.x, 16.x, 18.x]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}

Expand All @@ -50,7 +50,7 @@ jobs:

- name: Lint
run: yarn lint

- name: Setup test
run: yarn setup-test

Expand Down
22 changes: 11 additions & 11 deletions .github/workflows/c-demos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,45 +5,45 @@ on:
push:
branches: [ master ]
paths:
- 'demo/c/**'
- '!demo/c/README.md'
- '.github/workflows/c-demos.yml'
- 'demo/c/**'
- 'lib/beaglebone/**'
- 'lib/common/**'
- 'lib/jetson/**'
- 'lib/linux/**'
- 'lib/mac/**'
- 'lib/raspberry-pi/**'
- 'lib/windows/**'
- 'resources/.test/**'
- 'resources/audio_samples/**'
- 'resources/contexts*/beaglebone/**'
- 'resources/contexts*/jetson/**'
- 'resources/contexts*/linux/**'
- 'resources/contexts*/mac/**'
- 'resources/contexts*/raspberry-pi/**'
- 'resources/contexts*/windows/**'
- 'resources/test/**'
- '.github/workflows/c-demos.yml'
pull_request:
branches: [ master ]
branches: [ master, 'v[0-9]+.[0-9]+' ]
paths:
- 'demo/c/**'
- '!demo/c/README.md'
- '.github/workflows/c-demos.yml'
- 'demo/c/**'
- 'lib/beaglebone/**'
- 'lib/common/**'
- 'lib/jetson/**'
- 'lib/linux/**'
- 'lib/mac/**'
- 'lib/raspberry-pi/**'
- 'lib/windows/**'
- 'resources/.test/**'
- 'resources/audio_samples/**'
- 'resources/contexts*/beaglebone/**'
- 'resources/contexts*/jetson/**'
- 'resources/contexts*/linux/**'
- 'resources/contexts*/mac/**'
- 'resources/contexts*/raspberry-pi/**'
- 'resources/contexts*/windows/**'
- 'resources/test/**'
- '.github/workflows/c-demos.yml'

defaults:
run:
Expand All @@ -58,7 +58,7 @@ jobs:
os: [ubuntu-latest, windows-latest, macos-latest]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
submodules: recursive

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

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
submodules: recursive

Expand Down Expand Up @@ -109,7 +109,7 @@ jobs:
submodules: recursive

- name: Set up Python '3.10'
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: '3.10'

Expand Down Expand Up @@ -155,7 +155,7 @@ jobs:
arch: ''

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
submodules: recursive

Expand Down
36 changes: 36 additions & 0 deletions .github/workflows/dotnet-codestyle.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: .NET Codestyle

on:
workflow_dispatch:
push:
branches: [ master ]
paths:
- 'binding/dotnet/**/*.cs'
- 'demo/dotnet/**/*.cs'
- '.github/workflows/dotnet-codestyle.yml'
pull_request:
branches: [ master, 'v[0-9]+.[0-9]+' ]
paths:
- 'binding/dotnet/**/*.cs'
- 'demo/dotnet/**/*.cs'
- '.github/workflows/dotnet-codestyle.yml'

jobs:
check-dotnet-codestyle:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Setup .NET 6.0
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.x

- name: Run Binding Codestyle
run: dotnet format --verify-no-changes
working-directory: binding/dotnet

- name: Run Demo Codestyle
run: dotnet format --verify-no-changes
working-directory: demo/dotnet
10 changes: 5 additions & 5 deletions .github/workflows/dotnet-demos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
- '!demo/dotnet/README.md'
- '.github/workflows/dotnet-demos.yml'
pull_request:
branches: [ master ]
branches: [ master, 'v[0-9]+.[0-9]+' ]
paths:
- 'demo/dotnet/**'
- '!demo/dotnet/README.md'
Expand All @@ -24,10 +24,10 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Setup .NET 6.0
uses: actions/setup-dotnet@v1
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.x

Expand All @@ -41,10 +41,10 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Setup .NET 6.0
uses: actions/setup-dotnet@v1
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.x

Expand Down
Loading

0 comments on commit fea6c1b

Please sign in to comment.