Skip to content

Commit

Permalink
increment versions
Browse files Browse the repository at this point in the history
  • Loading branch information
albho committed Aug 14, 2024
1 parent 0f458ee commit 8368f15
Show file tree
Hide file tree
Showing 26 changed files with 131 additions and 36 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/c-demos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ jobs:
arch: amd64
- os: macos-latest
platform: mac
arch: x86_64
arch: arm64

steps:
- uses: actions/checkout@v3
Expand Down
11 changes: 11 additions & 0 deletions .github/workflows/dotnet-codestyle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,17 @@ 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/Porcupine/bin/Release Porcupine
working-directory: demo/dotnet/PorcupineDemo
# ********************************************************

- name: Run Demo Codestyle
run: dotnet format --verify-no-changes
working-directory: demo/dotnet
Expand Down
20 changes: 20 additions & 0 deletions .github/workflows/dotnet-demos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,16 @@ 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/Porcupine/bin/Release Porcupine
# ********************************************************

- name: Package restore
run: dotnet restore

Expand Down Expand Up @@ -91,6 +101,16 @@ 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/Porcupine/bin/Release Porcupine
# ********************************************************

- name: Package restore
run: dotnet restore

Expand Down
13 changes: 12 additions & 1 deletion .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:

strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
os: [ubuntu-latest, macos-latest, macos-13, windows-latest]
dotnet-version: [2.1.x, 3.0.x, 3.1.x, 5.0.x, 6.0.x]
include:
- dotnet-version: 2.1.x
Expand All @@ -67,6 +67,17 @@ jobs:
- dotnet-version: 6.0.x
binding-framework: net6.0
test-framework: net6.0
exclude:
- os: macos-latest
dotnet-version: 2.1.x
- os: macos-latest
dotnet-version: 3.0.x
- os: macos-latest
dotnet-version: 3.1.x
- os: macos-latest
dotnet-version: 5.0.x
- os: macos-13
dotnet-version: 6.0.x

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

# ************** REMOVE AFTER RELEASE ********************
- name: Install Go SDK from branch
run: go install github.com/Picovoice/porcupine/binding/go/v3/@d7a0b3ff1b171cd4e1f84bc2da10dc7fa88a8dbe
# ********************************************************

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

Expand All @@ -62,6 +67,11 @@ jobs:
steps:
- uses: actions/checkout@v3

# ************** REMOVE AFTER RELEASE ********************
- name: Install Go SDK from branch
run: go install github.com/Picovoice/porcupine/binding/go/v3/@d7a0b3ff1b171cd4e1f84bc2da10dc7fa88a8dbe
# ********************************************************

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

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
run: ./copy.sh

- name: Install dependencies
run: go get
run: go install

- name: Build
run: go build
Expand All @@ -90,7 +90,7 @@ jobs:
run: ./copy.sh

- name: Install dependencies
run: go get
run: go install

- name: Build
run: go build
Expand Down
12 changes: 12 additions & 0 deletions .github/workflows/nodejs-demos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,12 @@ 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 All @@ -55,6 +61,12 @@ 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: 10 additions & 0 deletions .github/workflows/python-demos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,12 @@ 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/pvporcupine-3.0.3-py3-none-any.whl
- name: Install dependencies
run: pip install -r requirements.txt

Expand All @@ -55,6 +61,10 @@ 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/pvporcupine-3.0.3-py3-none-any.whl

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

Expand Down
12 changes: 12 additions & 0 deletions .github/workflows/rust-codestyle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,12 @@ 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: binding/rust
Expand Down Expand Up @@ -86,6 +92,12 @@ 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: 12 additions & 0 deletions .github/workflows/rust-demos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,12 @@ 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 @@ -72,6 +78,12 @@ 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 binding/dotnet/Porcupine/Porcupine.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<TargetFrameworks>net6.0;netcoreapp3.0;netstandard2.0</TargetFrameworks>
<Version>3.0.2</Version>
<Version>3.0.3</Version>
<Authors>Picovoice</Authors>
<Company />
<Product>Porcupine Wake Word Engine</Product>
Expand Down
2 changes: 1 addition & 1 deletion binding/java/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ plugins {

ext {
PUBLISH_GROUP_ID = 'ai.picovoice'
PUBLISH_VERSION = '3.0.2'
PUBLISH_VERSION = '3.0.3'
PUBLISH_ARTIFACT_ID = 'porcupine-java'
}

Expand Down
2 changes: 1 addition & 1 deletion binding/nodejs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@picovoice/porcupine-node",
"version": "3.0.3",
"version": "3.0.4",
"description": "Picovoice Porcupine Node.js binding",
"main": "dist/index.js",
"types": "dist/types/index.d.ts",
Expand Down
4 changes: 2 additions & 2 deletions binding/python/setup.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Copyright 2019-2023 Picovoice Inc.
# Copyright 2019-2024 Picovoice Inc.
#
# You may not use this file except in compliance with the license. A copy of the license is located in the "LICENSE"
# file accompanying this source.
Expand Down Expand Up @@ -65,7 +65,7 @@

setuptools.setup(
name="pvporcupine",
version="3.0.2",
version="3.0.3",
author="Picovoice",
author_email="hello@picovoice.ai",
description="Porcupine wake word engine.",
Expand Down
2 changes: 1 addition & 1 deletion binding/rust/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "pv_porcupine"
version = "3.0.2"
version = "3.0.3"
edition = "2018"
description = "The Rust bindings for Picovoice's Porcupine library"
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion binding/rust/src/util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const DEFAULT_RELATIVE_LIBRARY_DIR: &str = "lib/";
const DEFAULT_RELATIVE_MODEL_PATH: &str = "lib/common/porcupine_params.pv";

#[allow(dead_code)]
const RPI_MACHINES: [&str; 5] = ["arm11", "cortex-a53", "cortex-a72", "cortex-a76"];
const RPI_MACHINES: [&str; 4] = ["arm11", "cortex-a53", "cortex-a72", "cortex-a76"];

#[cfg(all(target_os = "linux", any(target_arch = "arm", target_arch = "aarch64")))]
fn find_machine_type() -> String {
Expand Down
2 changes: 1 addition & 1 deletion demo/dotnet/PorcupineDemo/PorcupineDemo.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Porcupine" Version="3.0.2" />
<PackageReference Include="Porcupine" Version="3.0.3" />
<PackageReference Include="PvRecorder" Version="1.2.5" />
</ItemGroup>
</Project>
9 changes: 6 additions & 3 deletions demo/java/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ plugins {

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

sourceSets {
Expand All @@ -15,14 +18,14 @@ sourceSets {
}

dependencies {
implementation 'ai.picovoice:porcupine-java:3.0.2'
implementation 'ai.picovoice:porcupine-java:3.0.3'
implementation 'commons-cli:commons-cli:1.4'
}

jar {
manifest {
attributes "Main-Class": "ai.picovoice.porcupinedemo.MicDemo",
"Class-Path" : "porcupine-3.0.2.jar;commons-cli-1.4.jar"
"Class-Path" : "porcupine-3.0.3.jar;commons-cli-1.4.jar"
}
from sourceSets.main.output
exclude "**/FileDemo.class"
Expand All @@ -33,7 +36,7 @@ jar {
task fileDemoJar(type: Jar) {
manifest {
attributes "Main-Class": "ai.picovoice.porcupinedemo.FileDemo",
"Class-Path" : "porcupine-3.0.2.jar;commons-cli-1.4.jar"
"Class-Path" : "porcupine-3.0.3.jar;commons-cli-1.4.jar"
}
from sourceSets.main.output
exclude "**/MicDemo.class"
Expand Down
4 changes: 2 additions & 2 deletions demo/nodejs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@picovoice/porcupine-node-demo",
"version": "3.0.3",
"version": "3.0.4",
"description": "Picovoice Porcupine Node.js file-based and microphone demos",
"scripts": {
"file": "node file.js",
Expand All @@ -16,7 +16,7 @@
"author": "Picovoice, Inc.",
"license": "Apache-2.0",
"dependencies": {
"@picovoice/porcupine-node": "~3.0.3",
"@picovoice/porcupine-node": "file:../../binding/nodejs",
"@picovoice/pvrecorder-node": "~1.2.2",
"commander": "^6.1.0",
"wavefile": "^11.0.0"
Expand Down
6 changes: 2 additions & 4 deletions demo/nodejs/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,8 @@
# yarn lockfile v1


"@picovoice/porcupine-node@~3.0.2":
version "3.0.2"
resolved "https://registry.yarnpkg.com/@picovoice/porcupine-node/-/porcupine-node-3.0.2.tgz#9084c61b12531a406ecab3fab20d159a48b5ac19"
integrity sha512-Fkl/UwUT5y8tZ4a53N/grYcP2mftJAsjySucHRqPmVM6zSszYdAB71NggNZ13wZwAZ/2qhNVr7Q73gdQTE4/jQ==
"@picovoice/porcupine-node@file:../../binding/nodejs":
version "3.0.4"

"@picovoice/pvrecorder-node@~1.2.2":
version "1.2.2"
Expand Down
2 changes: 1 addition & 1 deletion demo/python/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
pvporcupine==3.0.2
pvporcupine==3.0.3
pvrecorder==1.2.2
4 changes: 2 additions & 2 deletions demo/python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,15 @@

setuptools.setup(
name="pvporcupinedemo",
version="3.0.2",
version="3.0.3",
author="Picovoice",
author_email="hello@picovoice.ai",
description="Porcupine wake word engine demos",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/Picovoice/porcupine",
packages=["pvporcupinedemo"],
install_requires=["pvporcupine==3.0.2", "pvrecorder==1.2.2"],
install_requires=["pvporcupine==3.0.3", "pvrecorder==1.2.2"],
include_package_data=True,
classifiers=[
"Development Status :: 5 - Production/Stable",
Expand Down
Loading

0 comments on commit 8368f15

Please sign in to comment.