Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

windows-arm64-bindings #13

Merged
merged 15 commits into from
Jan 15, 2025
Prev Previous commit
Next Next commit
minor fix
  • Loading branch information
matt200-ok committed Jan 10, 2025
commit b9a1377ab9657ab5de52456bfd1b7f0f41f086f8
1 change: 1 addition & 0 deletions .github/workflows/c-demo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ jobs:
pv_speaker_platform: raspberry-pi5-64
- machine: pv-windows-arm64
pv_speaker_platform: windows-arm64
shell: pwsh

steps:
- uses: actions/checkout@v3
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/c.yml
Original file line number Diff line number Diff line change
Expand Up @@ -180,10 +180,8 @@ jobs:
with:
name: windows
path: |
lib/windows/amd64/libpv_speaker.*
lib/windows/arm64/libpv_speaker.*
lib/node/windows/amd64/pv_speaker.node
lib/node/windows/arm64/pv_speaker.node
lib/${{ inputs.output_dir }}/libpv_speaker.*
lib/node/${{ inputs.output_dir }}/pv_speaker.node
retention-days: 3

collect-artifacts:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/dotnet-demo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ jobs:
strategy:
matrix:
machine: [rpi3-32, rpi3-64, rpi4-32, rpi4-64, rpi5-32, rpi5-64, pv-windows-arm64]
include:
- machine: pv-windows-arm64
shell: pwsh

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

- name: Pre-build dependencies
run: npm install yarn

# ************ REMOVE AFTER RELEASE ***************
- name: build local binding
run: |
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,6 @@ jobs:
with:
node-version: ${{ matrix.node-version }}

- name: Pre-build dependencies
run: npm install yarn

- name: Install dependencies
run: yarn install

Expand Down
1 change: 0 additions & 1 deletion .github/workflows/python-demos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ jobs:
# ************ REMOVE AFTER RELEASE ***************
- name: build local binding
run: |
python3 -m pip install setuptools wheel
python3 -m setup sdist bdist_wheel
working-directory: binding/python
# ************ REMOVE AFTER RELEASE ***************
Expand Down
2 changes: 2 additions & 0 deletions binding/python/_pvspeaker.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"cortex-a76-aarch64",
}


def _linux_machine() -> str:
machine = platform.machine()
if machine == "x86_64":
Expand All @@ -55,6 +56,7 @@ def _linux_machine() -> str:
else:
raise NotImplementedError("Unsupported CPU: `%s`." % cpu_part)


def default_library_path(relative: str = ''):
"""A helper function to get the library path."""

Expand Down
Loading