Skip to content

Commit

Permalink
post-release
Browse files Browse the repository at this point in the history
  • Loading branch information
albho committed Aug 15, 2024
1 parent 35c643b commit f4085dd
Show file tree
Hide file tree
Showing 16 changed files with 12 additions and 96 deletions.
11 changes: 0 additions & 11 deletions .github/workflows/dotnet-codestyle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,6 @@ jobs:
run: dotnet format --verify-no-changes
working-directory: binding/dotnet

# ************** REMOVE AFTER RELEASE ********************
- name: Pack .NET SDK
run: dotnet pack -c Release
working-directory: binding/dotnet

- name: Add local NuGet package file
continue-on-error: true
run: dotnet add package -s ../../../binding/dotnet/Rhino/bin/Release Rhino
working-directory: demo/dotnet/RhinoDemo
# ********************************************************

- name: Run Demo Codestyle
run: dotnet format --verify-no-changes
working-directory: demo/dotnet
20 changes: 0 additions & 20 deletions .github/workflows/dotnet-demos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,16 +42,6 @@ jobs:
with:
dotnet-version: 6.0.x

# ************** REMOVE AFTER RELEASE ********************
- name: Pack .NET SDK
run: dotnet pack -c Release
working-directory: binding/dotnet

- name: Add local NuGet package file
continue-on-error: true
run: dotnet add package -s ../../../binding/dotnet/Rhino/bin/Release Rhino
# ********************************************************

- name: Package restore
run: dotnet restore

Expand Down Expand Up @@ -85,16 +75,6 @@ jobs:
steps:
- uses: actions/checkout@v3

# ************** REMOVE AFTER RELEASE ********************
- name: Pack .NET SDK
run: dotnet pack -c Release
working-directory: binding/dotnet

- name: Add local NuGet package file
continue-on-error: true
run: dotnet add package -s ../../../binding/dotnet/Rhino/bin/Release Rhino
# ********************************************************

- name: Package restore
run: dotnet restore

Expand Down
10 changes: 0 additions & 10 deletions .github/workflows/go-demos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,6 @@ jobs:
with:
go-version: ${{ matrix.go }}

# ************** REMOVE AFTER RELEASE ********************
- name: Get Go SDK from branch
run: go get github.com/Picovoice/rhino/binding/go/v3/@f2d0f832413ec4000425e23871743890085d3650
# ********************************************************

- name: Build micdemo
run: go build micdemo/rhino_mic_demo.go

Expand Down Expand Up @@ -85,11 +80,6 @@ jobs:
steps:
- uses: actions/checkout@v3

# ************** REMOVE AFTER RELEASE ********************
- name: Get Go SDK from branch
run: go get github.com/Picovoice/rhino/binding/go/v3/@f2d0f832413ec4000425e23871743890085d3650
# ********************************************************

- name: Build micdemo
run: go build micdemo/rhino_mic_demo.go

Expand Down
12 changes: 0 additions & 12 deletions .github/workflows/nodejs-demos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,6 @@ jobs:
with:
node-version: ${{ matrix.node-version }}

# ************** REMOVE AFTER RELEASE ********************
- name: Build Node.js SDK
run: yarn && yarn build
working-directory: binding/nodejs
# ********************************************************

- name: Install dependencies
run: yarn install

Expand Down Expand Up @@ -79,12 +73,6 @@ jobs:
steps:
- uses: actions/checkout@v3

# ************** REMOVE AFTER RELEASE ********************
- name: Build Node.js SDK
run: yarn && yarn build
working-directory: binding/nodejs
# ********************************************************

- name: Install dependencies
run: yarn install

Expand Down
10 changes: 0 additions & 10 deletions .github/workflows/python-demos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,6 @@ jobs:
- name: Pre-build dependencies
run: python -m pip install --upgrade pip

# TODO: remove after release
- name: Build dependencies
run: |
python -m pip install -U pip setuptools
pip install wheel && cd ../../binding/python && python3 setup.py sdist bdist_wheel && pip install dist/pvrhino-3.0.3-py3-none-any.whl
- name: Install dependencies
run: pip install -r requirements.txt

Expand Down Expand Up @@ -79,10 +73,6 @@ jobs:
steps:
- uses: actions/checkout@v3

# TODO: remove after release
- name: Build dependencies
run: pip install wheel && cd ../../binding/python && python3 setup.py sdist bdist_wheel && pip install dist/pvrhino-3.0.3-py3-none-any.whl

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

Expand Down
12 changes: 0 additions & 12 deletions .github/workflows/rust-codestyle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,6 @@ jobs:
toolchain: stable
override: true

# ************** REMOVE AFTER RELEASE ********************
- name: Build Rust SDK
run: ./copy.sh
working-directory: binding/rust
# ********************************************************

- name: Run clippy
run: cargo clippy -- -D warnings
working-directory: demo/rust/filedemo
Expand All @@ -96,12 +90,6 @@ jobs:
toolchain: stable
override: true

# ************** REMOVE AFTER RELEASE ********************
- name: Build Rust SDK
run: ./copy.sh
working-directory: binding/rust
# ********************************************************

- name: Run clippy
run: cargo clippy -- -D warnings
working-directory: demo/rust/micdemo
12 changes: 0 additions & 12 deletions .github/workflows/rust-demos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,6 @@ jobs:
toolchain: stable
override: true

# ************** REMOVE AFTER RELEASE ********************
- name: Build Rust SDK
run: ./copy.sh
working-directory: binding/rust
# ********************************************************

- name: Rust build micdemo
run: cargo build --verbose
working-directory: demo/rust/micdemo
Expand Down Expand Up @@ -97,12 +91,6 @@ jobs:
toolchain: nightly
override: true

# ************** REMOVE AFTER RELEASE ********************
- name: Build Rust SDK
run: ./copy.sh
working-directory: binding/rust
# ********************************************************

- name: Rust build micdemo
run: cargo build --verbose
working-directory: demo/rust/micdemo
Expand Down
2 changes: 1 addition & 1 deletion demo/go/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.16

require (
github.com/Picovoice/pvrecorder/binding/go v1.2.2
github.com/Picovoice/rhino/binding/go/v3 v3.0.2
github.com/Picovoice/rhino/binding/go/v3 v3.0.3
github.com/go-audio/audio v1.0.0
github.com/go-audio/wav v1.0.0
)
3 changes: 0 additions & 3 deletions demo/java/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ plugins {

repositories {
mavenCentral()
maven {
url 'https://s01.oss.sonatype.org/content/repositories/aipicovoice-1332/'
}
}

sourceSets {
Expand Down
2 changes: 1 addition & 1 deletion demo/nodejs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"license": "Apache-2.0",
"dependencies": {
"@picovoice/pvrecorder-node": "~1.2.2",
"@picovoice/rhino-node": "file:../../binding/nodejs",
"@picovoice/rhino-node": "~3.0.5",
"commander": "^6.1.0",
"wavefile": "^11.0.0"
},
Expand Down
4 changes: 3 additions & 1 deletion demo/nodejs/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@
resolved "https://registry.yarnpkg.com/@picovoice/pvrecorder-node/-/pvrecorder-node-1.2.2.tgz#41c39719b408e29c581b3094a9ff4c59f282b026"
integrity sha512-GuzZhWslbR4TLE3VxTiqjax8Mc8f1nB69bY5jag4ETlCxo7q/KpeUbWRvojhtNVPvpFLbospZAb6vfgxkEqgJQ==

"@picovoice/rhino-node@file:../../binding/nodejs":
"@picovoice/rhino-node@~3.0.5":
version "3.0.5"
resolved "https://registry.yarnpkg.com/@picovoice/rhino-node/-/rhino-node-3.0.5.tgz#8ca5990e25c0231faca69dae74fad1691be55894"
integrity sha512-21/j50w5qtFw2IaaN1RawPwR66uGhGg29U7JZBDjdorcSUbPwlpR09B9pxvBTZP51EC40d8MIsQswp7jLH2vTA==

commander@^6.1.0:
version "6.2.1"
Expand Down
2 changes: 1 addition & 1 deletion demo/python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
long_description_content_type="text/markdown",
url="https://github.com/Picovoice/rhino",
packages=["pvrhinodemo"],
install_requires=["pvrhino==3.0.2", "pvrecorder==1.2.2"],
install_requires=["pvrhino==3.0.3", "pvrecorder==1.2.2"],
include_package_data=True,
classifiers=[
"Development Status :: 5 - Production/Stable",
Expand Down
2 changes: 2 additions & 0 deletions demo/rust/filedemo/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion demo/rust/filedemo/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ chrono = "0.4.23"
clap = "3.2.3"
hound = "3.4.0"
itertools = "0.10.3"
pv_rhino = { path = "../../../binding/rust" }
pv_rhino = "=3.0.3"
2 changes: 2 additions & 0 deletions demo/rust/micdemo/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion demo/rust/micdemo/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ ctrlc = "3.2.2"
hound = "3.4.0"
itertools = "0.10.3"
pv_recorder = "=1.2.2"
pv_rhino = { path = "../../../binding/rust" }
pv_rhino = "=3.0.3"

0 comments on commit f4085dd

Please sign in to comment.