Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@ jobs:
arch: AMD64
- os: windows-latest
arch: x86
- os: windows-11-arm
arch: ARM64
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
Expand Down
4 changes: 3 additions & 1 deletion scripts/build-libsrtp.bat
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ cd %source_dir%
git checkout -qf v2.7.0
cd ..

if "%PYTHON_ARCH%" == "64" (
if "%PYTHON_ARCH%" == "ARM64" (
set CMAKE_OPTIONS=-A ARM64
) else if "%PYTHON_ARCH%" == "64" (
set CMAKE_OPTIONS=-A x64
) else (
set CMAKE_OPTIONS=-A Win32
Expand Down
2 changes: 1 addition & 1 deletion scripts/fetch-vendor.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"urls": ["https://github.com/aiortc/aioquic-openssl/releases/download/3.4.1-1/openssl-{platform}.tar.gz"]
"urls": ["https://github.com/aiortc/aioquic-openssl/releases/download/3.5.4-1/openssl-{platform}.tar.gz"]
}
4 changes: 3 additions & 1 deletion scripts/fetch-vendor.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ def get_platform():
machine = os.environ["ARCHFLAGS"].split()[1]
return f"macosx_{machine}"
elif system == "Windows":
if struct.calcsize("P") * 8 == 64:
if machine == "ARM64":
return "win_arm64"
elif struct.calcsize("P") * 8 == 64:
return "win_amd64"
else:
return "win32"
Expand Down