Skip to content
This repository was archived by the owner on Apr 11, 2025. It is now read-only.

Commit 173e8a8

Browse files
authored
v3.0 (#715)
1 parent 0464eaf commit 173e8a8

File tree

275 files changed

+25172
-22400
lines changed

Some content is hidden

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

275 files changed

+25172
-22400
lines changed

.github/workflows/angular-demos.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525

2626
strategy:
2727
matrix:
28-
node-version: [14.x, 16.x, 18.x, 20.x]
28+
node-version: [16.x, 18.x, 20.x]
2929

3030
steps:
3131
- uses: actions/checkout@v3

.github/workflows/angular.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929

3030
strategy:
3131
matrix:
32-
node-version: [14.x, 16.x, 18.x, 20.x]
32+
node-version: [16.x, 18.x, 20.x]
3333

3434
steps:
3535
- uses: actions/checkout@v3

.github/workflows/dotnet-demos.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,13 @@ jobs:
2929
include:
3030
- os: ubuntu-latest
3131
platform: linux
32+
nuget-path: ~/.nuget/NuGet/local-nuget
3233
- os: windows-latest
3334
platform: windows
35+
nuget-path: ~/AppData/Roaming/NuGet/local-nuget
3436
- os: macos-latest
3537
platform: mac
38+
nuget-path: ~/.nuget/NuGet/local-nuget
3639

3740
steps:
3841
- uses: actions/checkout@v3

.github/workflows/dotnet.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,12 @@ jobs:
5353
- dotnet-version: 6.0.x
5454
binding-framework: net6.0
5555
test-framework: net6.0
56+
- os: ubuntu-latest
57+
nuget-path: ~/.nuget/NuGet/local-nuget
58+
- os: macos-latest
59+
nuget-path: ~/.nuget/NuGet/local-nuget
60+
- os: windows-latest
61+
nuget-path: ~/AppData/Roaming/NuGet/local-nuget
5662

5763
steps:
5864
- name: Checkout repository and submodules

.github/workflows/go-demos.yml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,19 @@ jobs:
2525

2626
strategy:
2727
matrix:
28-
go: [ '1.16', '1.17', '1.18' ]
28+
go: [ '1.16', '1.17', '1.18', '1.19', '1.20', 'stable' ]
2929

3030
steps:
3131
- uses: actions/checkout@v3
3232
with:
3333
submodules: recursive
3434

35+
- name: Set up Mingw
36+
uses: egor-tensin/setup-mingw@v2
37+
if: ${{ (matrix.os == 'windows-latest') && (matrix.go != 'stable') && (matrix.go < 1.20) }}
38+
with:
39+
version: 11.2.0
40+
3541
- name: Setup go
3642
uses: actions/setup-go@v4
3743
with:
@@ -46,13 +52,19 @@ jobs:
4652

4753
strategy:
4854
matrix:
49-
go: [ '1.16', '1.17', '1.18' ]
55+
go: [ '1.16', '1.17', '1.18', '1.19', '1.20', 'stable' ]
5056

5157
steps:
5258
- uses: actions/checkout@v3
5359
with:
5460
submodules: recursive
5561

62+
- name: Set up Mingw
63+
uses: egor-tensin/setup-mingw@v2
64+
if: ${{ (matrix.os == 'windows-latest') && (matrix.go != 'stable') && (matrix.go < 1.20) }}
65+
with:
66+
version: 11.2.0
67+
5668
- name: Setup go
5769
uses: actions/setup-go@v4
5870
with:

.github/workflows/go.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,19 @@ jobs:
3535
strategy:
3636
matrix:
3737
os: [ubuntu-latest, windows-latest, macos-latest]
38-
go: [ '1.16', '1.17', '1.18' ]
38+
go: [ '1.16', '1.17', '1.18', '1.19', '1.20', 'stable' ]
3939

4040
steps:
4141
- uses: actions/checkout@v3
4242
with:
4343
submodules: recursive
4444

45+
- name: Set up Mingw
46+
uses: egor-tensin/setup-mingw@v2
47+
if: ${{ (matrix.os == 'windows-latest') && (matrix.go != 'stable') && (matrix.go < 1.20) }}
48+
with:
49+
version: 11.2.0
50+
4551
- name: Setup go
4652
uses: actions/setup-go@v4
4753
with:

.github/workflows/nodejs-codestyle.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,6 @@ jobs:
2929
with:
3030
node-version: lts/*
3131

32-
- name: Pre-build dependencies
33-
run: npm install yarn
34-
3532
- name: Run Binding Linter
3633
run: yarn && yarn lint
3734
working-directory: sdk/nodejs

.github/workflows/nodejs-demos.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
strategy:
2828
matrix:
2929
os: [ubuntu-latest, windows-latest, macos-latest]
30-
node-version: [14.x, 16.x, 18.x, 20.x]
30+
node-version: [16.x, 18.x, 20.x]
3131
include:
3232
- os: ubuntu-latest
3333
platform: linux
@@ -46,9 +46,6 @@ jobs:
4646
with:
4747
node-version: ${{ matrix.node-version }}
4848

49-
- name: Pre-build dependencies
50-
run: npm install yarn
51-
5249
- name: Install dependencies
5350
run: yarn install
5451

@@ -63,6 +60,7 @@ jobs:
6360
runs-on: ${{ matrix.machine }}
6461

6562
strategy:
63+
fail-fast: false
6664
matrix:
6765
machine: [rpi2, rpi3-32, rpi3-64, rpi4-32, rpi4-64, jetson, beaglebone]
6866
include:

.github/workflows/nodejs.yml

Lines changed: 3 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
strategy:
3535
matrix:
3636
os: [ubuntu-latest, macos-latest, windows-latest]
37-
node-version: [14.x, 16.x, 18.x, 20.x]
37+
node-version: [16.x, 18.x, 20.x]
3838

3939
steps:
4040
- uses: actions/checkout@v3
@@ -46,27 +46,17 @@ jobs:
4646
with:
4747
node-version: ${{ matrix.node-version }}
4848

49-
- name: Local Porcupine dependency
50-
run: yarn && yarn build
51-
working-directory: resources/porcupine/binding/nodejs
52-
53-
- name: Local Rhino dependency
54-
run: yarn && yarn build
55-
working-directory: resources/rhino/binding/nodejs
56-
57-
- name: Pre-build dependencies
58-
run: npm install yarn
59-
6049
- name: Install dependencies
6150
run: yarn install
6251

6352
- name: Test
64-
run: yarn test --access_key=${{secrets.PV_VALID_ACCESS_KEY}}
53+
run: yarn test --access_key=${{secrets.PV_VALID_ACCESS_KEY}}
6554

6655
build-self-hosted:
6756
runs-on: ${{ matrix.machine }}
6857

6958
strategy:
59+
fail-fast: false
7060
matrix:
7161
machine: [rpi2, rpi3-32, rpi3-64, rpi4-32, rpi4-64, jetson, beaglebone]
7262

@@ -75,17 +65,6 @@ jobs:
7565
with:
7666
submodules: recursive
7767

78-
- name: Local Porcupine dependency
79-
run: yarn && yarn build
80-
working-directory: resources/porcupine/binding/nodejs
81-
82-
- name: Local Rhino dependency
83-
run: yarn && yarn build
84-
working-directory: resources/rhino/binding/nodejs
85-
86-
- name: Pre-build dependencies
87-
run: npm install --global yarn
88-
8968
- name: Install dependencies
9069
run: yarn install
9170

.github/workflows/python-demos.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
strategy:
2727
matrix:
2828
os: [ubuntu-latest, windows-latest, macos-latest]
29-
python-version: ['3.7', '3.8', '3.9', '3.10']
29+
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
3030
include:
3131
- os: ubuntu-latest
3232
platform: linux
@@ -46,7 +46,9 @@ jobs:
4646
python-version: ${{ matrix.python-version }}
4747

4848
- name: Pre-build dependencies
49-
run: python -m pip install --upgrade pip
49+
run: |
50+
python -m pip install --upgrade pip
51+
pip install wheel
5052
5153
- name: Install dependencies
5254
run: pip install -r requirements.txt
@@ -85,6 +87,11 @@ jobs:
8587
with:
8688
submodules: recursive
8789

90+
- name: Pre-build dependencies
91+
run: |
92+
python3 -m pip install --upgrade pip
93+
pip3 install wheel
94+
8895
- name: Install dependencies
8996
run: pip3 install -r requirements.txt
9097

0 commit comments

Comments
 (0)