Skip to content

Commit

Permalink
v2.0 (#284)
Browse files Browse the repository at this point in the history
  • Loading branch information
laves authored Nov 27, 2023
1 parent 44e3bd4 commit 56b78a3
Show file tree
Hide file tree
Showing 237 changed files with 5,281 additions and 2,547 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/android-perf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ jobs:
device: [single-android, 32bit-android]
include:
- device: single-android
initPerformanceThresholdSec: 3.25
procPerformanceThresholdSec: 0.75
initPerformanceThresholdSec: 4.0
procPerformanceThresholdSec: 2.3
- device: 32bit-android
initPerformanceThresholdSec: 10.0
procPerformanceThresholdSec: 4.0
initPerformanceThresholdSec: 11.0
procPerformanceThresholdSec: 15.0

steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/go-codestyle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ jobs:
uses: golangci/golangci-lint-action@v3
with:
working-directory: binding/go
# TODO: figure out why the linter complains about this??
args: --exclude="could not import C"

check-go-micdemo-codestyle:
runs-on: ubuntu-latest
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/go-demos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,17 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
go: [ '1.16', '1.17', '1.18' ]
go: [ '1.16', '1.17', '1.18', '1.19', '1.20', 'stable' ]

steps:
- uses: actions/checkout@v3

- name: Set up Mingw
uses: egor-tensin/setup-mingw@v2
if: ${{ (matrix.os == 'windows-latest') && (matrix.go != 'stable') && (matrix.go < 1.20) }}
with:
version: 11.2.0

- name: Setup go
uses: actions/setup-go@v3
with:
Expand Down
12 changes: 9 additions & 3 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,17 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
go: [ '1.16', '1.17', '1.18' ]
go: [ '1.16', '1.17', '1.18', '1.19', '1.20', 'stable' ]

steps:
- uses: actions/checkout@v3

- name: Set up Mingw
uses: egor-tensin/setup-mingw@v2
if: ${{ (matrix.os == 'windows-latest') && (matrix.go != 'stable') && (matrix.go < 1.20) }}
with:
version: 11.2.0

- name: Setup go
uses: actions/setup-go@v3
with:
Expand All @@ -58,7 +64,7 @@ jobs:
run: go build

- name: Test
run: go test -v -access_key ${{secrets.PV_VALID_ACCESS_KEY}}
run: go test -modfile="go_test.mod" -v -access_key ${{secrets.PV_VALID_ACCESS_KEY}}

build-self-hosted:
runs-on: ${{ matrix.machine }}
Expand All @@ -80,4 +86,4 @@ jobs:
run: go build

- name: Test
run: go test -v -access_key ${{secrets.PV_VALID_ACCESS_KEY}}
run: go test -modfile="go_test.mod" -v -access_key ${{secrets.PV_VALID_ACCESS_KEY}}
4 changes: 2 additions & 2 deletions .github/workflows/ios-perf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ jobs:
device: [ios-perf]
include:
- device: ios-perf
initPerformanceThresholdSec: 1.5
procPerformanceThresholdSec: 0.2
initPerformanceThresholdSec: 2.5
procPerformanceThresholdSec: 0.5

steps:
- name: Checkout
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/java-demos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,15 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
java-version: ['11', '17', '19']

steps:
- uses: actions/checkout@v3

- name: Set up JDK 11
- name: Set up JDK ${{ matrix.java-version }}
uses: actions/setup-java@v3
with:
java-version: '11'
java-version: ${{ matrix.java-version }}
distribution: 'temurin'

- name: Build
Expand Down
34 changes: 17 additions & 17 deletions .github/workflows/java-perf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,14 @@ jobs:
os: [ubuntu-latest, macos-latest, windows-latest]
include:
- os: ubuntu-latest
init_performance_threshold_sec: 2.0
proc_performance_threshold_sec: 0.5
- os: windows-latest
init_performance_threshold_sec: 2.1
proc_performance_threshold_sec: 0.6
init_performance_threshold_sec: 4.5
proc_performance_threshold_sec: 1.0
- os: macos-latest
init_performance_threshold_sec: 2.5
proc_performance_threshold_sec: 0.7
init_performance_threshold_sec: 5.5
proc_performance_threshold_sec: 3.0
- os: windows-latest
init_performance_threshold_sec: 4.5
proc_performance_threshold_sec: 1.0

steps:
- uses: actions/checkout@v3
Expand All @@ -64,20 +64,20 @@ jobs:
machine: [rpi3-32, rpi3-64, rpi4-32, rpi4-64, jetson]
include:
- machine: rpi3-32
init_performance_threshold_sec: 7.5
proc_performance_threshold_sec: 3.3
init_performance_threshold_sec: 14.0
proc_performance_threshold_sec: 9.3
- machine: rpi3-64
init_performance_threshold_sec: 8.8
proc_performance_threshold_sec: 3.3
init_performance_threshold_sec: 13.5
proc_performance_threshold_sec: 8.3
- machine: rpi4-32
init_performance_threshold_sec: 5.6
proc_performance_threshold_sec: 2.0
init_performance_threshold_sec: 8.5
proc_performance_threshold_sec: 4.6
- machine: rpi4-64
init_performance_threshold_sec: 5.1
proc_performance_threshold_sec: 1.9
init_performance_threshold_sec: 7.8
proc_performance_threshold_sec: 5.0
- machine: jetson
init_performance_threshold_sec: 5.1
proc_performance_threshold_sec: 2.0
init_performance_threshold_sec: 7.8
proc_performance_threshold_sec: 5.5

steps:
- uses: actions/checkout@v3
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/java.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,15 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
java-version: ['11', '17', '19']

steps:
- uses: actions/checkout@v3

- name: Set up JDK 11
- name: Set up JDK ${{ matrix.java-version }}
uses: actions/setup-java@v3
with:
java-version: '11'
java-version: ${{ matrix.java-version }}
distribution: 'temurin'

- name: Build
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/nodejs-codestyle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,6 @@ jobs:
with:
node-version: lts/*

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

- name: Run Binding Linter
run: yarn && yarn lint
working-directory: binding/nodejs
8 changes: 1 addition & 7 deletions .github/workflows/nodejs-demos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
node-version: [14.x, 16.x, 18.x, 20.x]
node-version: [16.x, 18.x, 20.x]

steps:
- uses: actions/checkout@v3
Expand All @@ -39,9 +39,6 @@ jobs:
with:
node-version: ${{ matrix.node-version }}

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

- name: Install dependencies
run: yarn install

Expand All @@ -58,9 +55,6 @@ jobs:
steps:
- uses: actions/checkout@v3

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

- name: Install dependencies
run: yarn install

Expand Down
36 changes: 15 additions & 21 deletions .github/workflows/nodejs-perf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@ jobs:
os: [ubuntu-latest, windows-latest, macos-latest]
include:
- os: ubuntu-latest
init_performance_threshold_sec: 2.1
proc_performance_threshold_sec: 0.5
init_performance_threshold_sec: 3.0
proc_performance_threshold_sec: 0.75
- os: windows-latest
init_performance_threshold_sec: 2.5
init_performance_threshold_sec: 3.0
proc_performance_threshold_sec: 0.8
- os: macos-latest
init_performance_threshold_sec: 2.3
proc_performance_threshold_sec: 0.8
init_performance_threshold_sec: 3.5
proc_performance_threshold_sec: 4.0

steps:
- uses: actions/checkout@v3
Expand All @@ -49,9 +49,6 @@ jobs:
with:
node-version: lts/*

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

- name: Install dependencies
run: yarn install

Expand All @@ -67,27 +64,24 @@ jobs:
machine: [rpi3-32, rpi3-64, rpi4-32, rpi4-64, jetson]
include:
- machine: rpi3-32
init_performance_threshold_sec: 7.5
proc_performance_threshold_sec: 3.0
init_performance_threshold_sec: 9.0
proc_performance_threshold_sec: 8.5
- machine: rpi3-64
init_performance_threshold_sec: 8.5
proc_performance_threshold_sec: 3.0
init_performance_threshold_sec: 9.0
proc_performance_threshold_sec: 7.0
- machine: rpi4-32
init_performance_threshold_sec: 5.7
proc_performance_threshold_sec: 2.0
init_performance_threshold_sec: 6.2
proc_performance_threshold_sec: 4.0
- machine: rpi4-64
init_performance_threshold_sec: 5.1
proc_performance_threshold_sec: 1.9
init_performance_threshold_sec: 5.5
proc_performance_threshold_sec: 3.5
- machine: jetson
init_performance_threshold_sec: 5.0
proc_performance_threshold_sec: 2.0
init_performance_threshold_sec: 5.5
proc_performance_threshold_sec: 4.3

steps:
- uses: actions/checkout@v3

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

- name: Install dependencies
run: yarn install

Expand Down
8 changes: 1 addition & 7 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
node-version: [14.x, 16.x, 18.x, 20.x]
node-version: [16.x, 18.x, 20.x]

steps:
- uses: actions/checkout@v3
Expand All @@ -39,9 +39,6 @@ jobs:
with:
node-version: ${{ matrix.node-version }}

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

- name: Install dependencies
run: yarn install

Expand All @@ -58,9 +55,6 @@ jobs:
steps:
- uses: actions/checkout@v3

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

- name: Install dependencies
run: yarn install

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/python-codestyle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ name: Python Codestyle
on:
workflow_dispatch:
push:
branches: [master]
branches: [ master ]
paths:
- 'binding/python/*.py'
- 'demo/python/*.py'
pull_request:
branches: [master]
branches: [ master, 'v[0-9]+.[0-9]+' ]
paths:
- 'binding/python/*.py'
- 'demo/python/*.py'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/python-demos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ name: Python Demos
on:
workflow_dispatch:
push:
branches: [master]
branches: [ master ]
paths:
- '.github/workflows/python-demos.yml'
- 'demo/python/**'
- '!demo/python/README.md'
pull_request:
branches: [master]
branches: [ master, 'v[0-9]+.[0-9]+' ]
paths:
- '.github/workflows/python-demos.yml'
- 'demo/python/**'
Expand Down
Loading

0 comments on commit 56b78a3

Please sign in to comment.