Skip to content

Commit

Permalink
v1.1 (#140)
Browse files Browse the repository at this point in the history
  • Loading branch information
laves authored Aug 11, 2022
1 parent c1e525b commit 7662e8c
Show file tree
Hide file tree
Showing 209 changed files with 2,567 additions and 1,615 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/android-appcenter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ name: Android AppCenter Tests
on:
workflow_dispatch:
push:
branches: [ master ]
branches: [ master, v1.1 ]
paths:
- 'demo/android/CheetahDemo/**'
- '!demo/android/CheetahDemo/README.md'
- '.github/workflows/android-appcenter.yml'
pull_request:
branches: [ master ]
branches: [ master, v1.1 ]
paths:
- 'demo/android/CheetahDemo/**'
- '!demo/android/CheetahDemo/README.md'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/android-perf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ name: Android Performance
on:
workflow_dispatch:
push:
branches: [ master ]
branches: [ master, v1.1 ]
paths:
- 'lib/android/**'
- 'lib/common/**'
- '.github/workflows/android-perf.yml'
pull_request:
branches: [ master ]
branches: [ master, v1.1 ]
paths:
- 'lib/android/**'
- 'lib/common/**'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/dotnet-demos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ name: .NET Demos
on:
workflow_dispatch:
push:
branches: [ master ]
branches: [ master, v1.1 ]
paths:
- 'demo/dotnet/**'
- '!demo/dotnet/README.md'
- '.github/workflows/dotnet-demos.yml'
pull_request:
branches: [ master ]
branches: [ master, v1.1 ]
paths:
- 'demo/dotnet/**'
- '!demo/dotnet/README.md'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: .NET
on:
workflow_dispatch:
push:
branches: [ master ]
branches: [ master, v1.1 ]
paths:
- 'binding/dotnet/**'
- '!binding/dotnet/README.md'
Expand All @@ -15,7 +15,7 @@ on:
- 'lib/windows/**'
- '.github/workflows/dotnet.yml'
pull_request:
branches: [ master ]
branches: [ master, v1.1 ]
paths:
- 'binding/dotnet/**'
- '!binding/dotnet/README.md'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/flutter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ name: Flutter
on:
workflow_dispatch:
push:
branches: [ master ]
branches: [ master, v1.1 ]
paths:
- 'demo/flutter/pubspec.yaml'
- '.github/workflows/flutter.yml'
pull_request:
branches: [ master ]
branches: [ master, v1.1 ]
paths:
- 'demo/flutter/pubspec.yaml'
- '.github/workflows/flutter.yml'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/go-demos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ name: Go Demos
on:
workflow_dispatch:
push:
branches: [ master ]
branches: [ master, v1.1 ]
paths:
- 'demo/go/**'
- '!demo/go/README.md'
- '.github/workflows/go-demos.yml'
pull_request:
branches: [ master ]
branches: [ master, v1.1 ]
paths:
- 'demo/go/**'
- '!demo/go/README.md'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Go
on:
workflow_dispatch:
push:
branches: [ master ]
branches: [ master, v1.1 ]
paths:
- 'binding/go/**'
- '!binding/go/README.md'
Expand All @@ -15,7 +15,7 @@ on:
- 'lib/windows/**'
- '.github/workflows/go.yml'
pull_request:
branches: [ master ]
branches: [ master, v1.1 ]
paths:
- 'binding/go/**'
- '!binding/go/README.md'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ios-appcenter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ name: iOS AppCenter Tests
on:
workflow_dispatch:
push:
branches: [ master ]
branches: [ master, v1.1 ]
paths:
- 'binding/ios/CheetahAppTest/Podfile.lock'
- '.github/workflows/ios-appcenter.yml'
pull_request:
branches: [ master ]
branches: [ master, v1.1 ]
paths:
- 'binding/ios/CheetahAppTest/Podfile.lock'
- '.github/workflows/ios-appcenter.yml'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ios-perf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ name: iOS Performance
on:
workflow_dispatch:
push:
branches: [ master ]
branches: [ master, v1.1 ]
paths:
- 'lib/ios/**'
- 'lib/common/**'
- '.github/workflows/ios-perf.yml'
pull_request:
branches: [ master ]
branches: [ master, v1.1 ]
paths:
- 'lib/ios/**'
- 'lib/common/**'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/java-demos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ name: Java Demos
on:
workflow_dispatch:
push:
branches: [ master ]
branches: [ master, v1.1 ]
paths:
- 'demo/java/**'
- '!demo/java/README.md'
- '.github/workflows/java-demos.yml'
pull_request:
branches: [ master ]
branches: [ master, v1.1 ]
paths:
- 'demo/java/**'
- '!demo/java/README.md'
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/java-perf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ name: Java Performance
on:
workflow_dispatch:
push:
branches: [ master ]
branches: [ master, v1.1 ]
paths:
- 'binding/java/**/CheetahPerformanceTest.java'
- 'lib/common/**'
- 'lib/java/**'
- '.github/workflows/java-perf.yml'
pull_request:
branches: [ master ]
branches: [ master, v1.1 ]
paths:
- 'binding/java/**/CheetahPerformanceTest.java'
- 'lib/common/**'
Expand Down Expand Up @@ -38,7 +38,7 @@ jobs:
proc_performance_threshold_sec: 0.6
- os: macos-latest
init_performance_threshold_sec: 2.5
proc_performance_threshold_sec: 0.6
proc_performance_threshold_sec: 0.7

steps:
- uses: actions/checkout@v2
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/java.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ name: Java
on:
workflow_dispatch:
push:
branches: [ master ]
branches: [ master, v1.1 ]
paths:
- 'binding/java/**'
- '!binding/java/README.md'
- 'lib/commom/**'
- 'lib/java/**'
- '.github/workflows/java.yml'
pull_request:
branches: [ master ]
branches: [ master, v1.1 ]
paths:
- 'binding/java/**'
- '!binding/java/README.md'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/nodejs-demos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ name: Node.js Demos
on:
workflow_dispatch:
push:
branches: [ master ]
branches: [ master, v1.1 ]
paths:
- 'demo/nodejs/**'
- '!demo/nodejs/README.md'
- 'lib/node/**'
- '.github/workflows/nodejs-demos.yml'

pull_request:
branches: [ master ]
branches: [ master, v1.1 ]
paths:
- 'demo/nodejs/**'
- '!demo/nodejs/README.md'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/nodejs-perf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ name: Node.js Performance
on:
workflow_dispatch:
push:
branches: [ master ]
branches: [ master, v1.1 ]
paths:
- 'binding/nodejs/perf.test.js'
- 'lib/common/**'
- 'lib/node/**'
- '.github/workflows/nodejs-perf.yml'

pull_request:
branches: [ master ]
branches: [ master, v1.1 ]
paths:
- 'binding/nodejs/perf.test.js'
- 'lib/common/**'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ name: Node.js
on:
workflow_dispatch:
push:
branches: [ master ]
branches: [ master, v1.1 ]
paths:
- 'binding/nodejs/**'
- '!binding/nodejs/README.md'
- 'lib/node/**'
- '.github/workflows/nodejs.yml'

pull_request:
branches: [ master ]
branches: [ master, v1.1 ]
paths:
- 'binding/nodejs/**'
- '!binding/nodejs/README.md'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/python-demos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
- 'demo/python/**'
- '!demo/python/README.md'
pull_request:
branches: [master]
branches: [master, v1.1]
paths:
- '.github/workflows/python-demos.yml'
- 'demo/python/**'
Expand Down
15 changes: 12 additions & 3 deletions .github/workflows/python-perf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ on:
- 'lib/raspberry-pi/**'
- 'lib/windows/**'
pull_request:
branches: [master]
branches: [master, v1.1]
paths:
- '.github/workflows/python-perf.yml'
- 'binding/python/test_cheetah_perf.py'
Expand Down Expand Up @@ -45,8 +45,8 @@ jobs:
init_performance_threshold_sec: 2.4
proc_performance_threshold_sec: 0.6
- os: macos-latest
init_performance_threshold_sec: 2.2
proc_performance_threshold_sec: 0.7
init_performance_threshold_sec: 3.0
proc_performance_threshold_sec: 0.8

steps:
- uses: actions/checkout@v2
Expand All @@ -56,6 +56,12 @@ jobs:
with:
python-version: '3.10'

- name: Pre-build dependencies
run: python -m pip install --upgrade pip

- name: Install dependencies
run: pip install -r requirements.txt

- name: Test
run: python3 test_cheetah_perf.py ${{secrets.PV_VALID_ACCESS_KEY}} 50 ${{matrix.init_performance_threshold_sec}} ${{matrix.proc_performance_threshold_sec}}

Expand Down Expand Up @@ -90,6 +96,9 @@ jobs:
working-directory: resources/scripts
run: bash machine-state.sh

- name: Install dependencies
run: pip install -r requirements.txt

- name: Test
run: python3 test_cheetah_perf.py ${{secrets.PV_VALID_ACCESS_KEY}} 20 ${{matrix.init_performance_threshold_sec}} ${{matrix.proc_performance_threshold_sec}}

Expand Down
11 changes: 10 additions & 1 deletion .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ on:
- 'lib/raspberry-pi/**'
- 'lib/windows/**'
pull_request:
branches: [master]
branches: [master, v1.1]
paths:
- '.github/workflows/python.yml'
- 'binding/python/**'
Expand Down Expand Up @@ -48,6 +48,12 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- name: Pre-build dependencies
run: python -m pip install --upgrade pip

- name: Install dependencies
run: pip install -r requirements.txt

- name: Test
run: python test_cheetah.py ${{secrets.PV_VALID_ACCESS_KEY}}

Expand All @@ -61,5 +67,8 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Install dependencies
run: pip install -r requirements.txt

- name: Test
run: python3 test_cheetah.py ${{secrets.PV_VALID_ACCESS_KEY}}
4 changes: 2 additions & 2 deletions .github/workflows/react-native.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: React Native
on:
workflow_dispatch:
push:
branches: [ master ]
branches: [ master, v1.1 ]
paths:
- 'binding/react-native/**'
- '!binding/react-native/README.md'
Expand All @@ -12,7 +12,7 @@ on:
- 'lib/ios/**'
- '.github/workflows/react-native.yml'
pull_request:
branches: [ master ]
branches: [ master, v1.1 ]
paths:
- 'binding/react-native/**'
- '!binding/react-native/README.md'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/web-perf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ name: Web Performance
on:
workflow_dispatch:
push:
branches: [ master ]
branches: [ master, v1.1 ]
paths:
- 'lib/wasm/**'
- 'lib/common/**'
- '.github/workflows/web-perf.yml'
pull_request:
branches: [ master ]
branches: [ master, v1.1 ]
paths:
- 'lib/wasm/**'
- 'lib/common/**'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ name: Web
on:
workflow_dispatch:
push:
branches: [ master ]
branches: [ master, v1.1 ]
paths:
- 'binding/web/**'
- '!binding/web/README.md'
- 'lib/wasm/**'
- '.github/workflows/web.yml'
pull_request:
branches: [ master ]
branches: [ master, v1.1 ]
paths:
- 'binding/web/**'
- '!binding/web/README.md'
Expand Down
Loading

0 comments on commit 7662e8c

Please sign in to comment.