Skip to content

Commit

Permalink
try fix
Browse files Browse the repository at this point in the history
  • Loading branch information
albho committed Sep 13, 2024
1 parent 00a0e5a commit d810c16
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 12 deletions.
15 changes: 14 additions & 1 deletion .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,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, 8.0.x]
include:
- dotnet-version: 2.1.x
Expand All @@ -62,6 +62,19 @@ jobs:
- dotnet-version: 8.0.x
binding-framework: net8.0
test-framework: net8.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-latest
dotnet-version: 6.0.x
- os: macos-13
dotnet-version: 8.0.x

steps:
- uses: actions/checkout@v3
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/go-demos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:

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

- name: Build micdemo
Expand All @@ -73,7 +73,7 @@ jobs:

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

- name: Build micdemo
Expand Down Expand Up @@ -112,7 +112,7 @@ jobs:

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

- name: Build server
Expand Down
10 changes: 2 additions & 8 deletions .github/workflows/python-demos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ jobs:
run: python3 leopard_demo_file.py --access_key ${{secrets.PV_VALID_ACCESS_KEY}} --wav_paths ../../resources/audio_samples/test.wav

build-subtitle-demo:
if: false # YouTube: "Sign in to confirm you’re not a bot."
runs-on: ${{ matrix.os }}
defaults:
run:
Expand All @@ -90,10 +91,6 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

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

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

Expand All @@ -107,6 +104,7 @@ jobs:
--subtitle_path test.txt

build-youtube-demo:
if: false # YouTube: "Sign in to confirm you’re not a bot."
runs-on: ${{ matrix.os }}
defaults:
run:
Expand All @@ -125,10 +123,6 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

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

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

Expand Down
1 change: 1 addition & 0 deletions .github/workflows/rust-demos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ on:
defaults:
run:
working-directory: demo/rust
shell: bash

jobs:
build-github-hosted:
Expand Down

0 comments on commit d810c16

Please sign in to comment.