Skip to content

Commit ee13c9d

Browse files
committed
Build wheels for Windows / ARM64
1 parent 4b72779 commit ee13c9d

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

.github/workflows/tests.yml

+2
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,8 @@ jobs:
9292
arch: AMD64
9393
- os: windows-latest
9494
arch: x86
95+
- os: windows-11-arm
96+
arch: ARM64
9597
steps:
9698
- uses: actions/checkout@v4
9799
- uses: actions/setup-python@v5

scripts/fetch-vendor.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"urls": ["https://github.com/aiortc/aioquic-openssl/releases/download/3.4.1-1/openssl-{platform}.tar.gz"]
2+
"urls": ["https://github.com/aiortc/aioquic-openssl/releases/download/3.4.1-2/openssl-{platform}.tar.gz"]
33
}

scripts/fetch-vendor.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@ def get_platform():
2323
machine = os.environ["ARCHFLAGS"].split()[1]
2424
return f"macosx_{machine}"
2525
elif system == "Windows":
26-
if struct.calcsize("P") * 8 == 64:
26+
if machine == "ARM64":
27+
return "win_arm64"
28+
elif struct.calcsize("P") * 8 == 64:
2729
return "win_amd64"
2830
else:
2931
return "win32"

0 commit comments

Comments
 (0)