Skip to content

Commit 0eb0254

Browse files
committed
Add Windows ARM64 wheels and tests
1 parent 082e83c commit 0eb0254

3 files changed

Lines changed: 15 additions & 4 deletions

File tree

‎.github/workflows/build-rtc.yml‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ jobs:
7373
archs: aarch64
7474
- os: windows-latest
7575
archs: AMD64
76+
- os: windows-11-arm
77+
archs: ARM64
7678
- os: macos-latest
7779
archs: x86_64 arm64
7880
defaults:
@@ -166,6 +168,16 @@ jobs:
166168
- os: windows-latest
167169
python-version: "3.14"
168170
artifact: rtc-release-windows-latest
171+
# Windows ARM64 tests
172+
- os: windows-11-arm
173+
python-version: "3.11"
174+
artifact: rtc-release-windows-11-arm
175+
- os: windows-11-arm
176+
python-version: "3.12"
177+
artifact: rtc-release-windows-11-arm
178+
- os: windows-11-arm
179+
python-version: "3.14"
180+
artifact: rtc-release-windows-11-arm
169181
uses: ./.github/workflows/tests.yml
170182
with:
171183
os: ${{ matrix.os }}

‎.github/workflows/publish.yml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,8 @@ jobs:
211211
archs: aarch64
212212
- os: windows-latest
213213
archs: AMD64
214+
- os: windows-11-arm
215+
archs: ARM64
214216
- os: macos-latest
215217
archs: x86_64 arm64
216218
defaults:

‎livekit-rtc/setup.py‎

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,7 @@ def get_platform_tag():
5656
elif sys.platform == "linux":
5757
return f"linux_{platform.machine()}"
5858
elif sys.platform == "win32":
59-
arch = platform.machine()
60-
if arch == "AMD64":
61-
arch = "amd64"
62-
return f"win_{arch}"
59+
return f"win_{platform.machine().lower()}"
6360
else:
6461
return f"{platform.system().lower()}_{platform.machine()}"
6562

0 commit comments

Comments
 (0)