File tree 2 files changed +13
-2
lines changed
2 files changed +13
-2
lines changed Original file line number Diff line number Diff line change 35
35
- os : windows-latest
36
36
arch : AMD64
37
37
shell : ' msys2 {0}'
38
+ - os : windows-11-arm
39
+ arch : ARM64
40
+ shell : ' msys2 {0}'
38
41
- os : ubuntu-24.04-arm
39
42
arch : aarch64
40
43
shell : bash
@@ -54,12 +57,18 @@ jobs:
54
57
run : |
55
58
brew update
56
59
brew unlink gettext libidn2 libpng libtiff libunistring libx11 libxau libxcb libxdmcp little-cms2 unbound
57
- - uses : msys2/setup-msys2@c52d1fa9c7492275e60fe763540fb601f5f232a1
60
+ - uses : msys2/setup-msys2@v2
58
61
if : matrix.os == 'windows-latest'
59
62
with :
60
63
install : base-devel mingw-w64-x86_64-gcc mingw-w64-x86_64-gperf mingw-w64-x86_64-nasm openssl-devel
61
64
path-type : inherit
62
65
release : false
66
+ - uses : msys2/setup-msys2@v2
67
+ if : matrix.os == 'windows-11-arm'
68
+ with :
69
+ install : base-devel mingw-w64-clang-aarch64-gcc-compat mingw-w64-clang-aarch64-gperf mingw-w64-clang-aarch64-nasm openssl-devel
70
+ path-type : inherit
71
+ release : false
63
72
- name : Build FFmpeg
64
73
env :
65
74
CIBW_ARCHS : ${{ matrix.arch }}
Original file line number Diff line number Diff line change @@ -32,7 +32,9 @@ def get_platform() -> str:
32
32
elif system == "Darwin" :
33
33
return f"macosx_{ machine } "
34
34
elif system == "Windows" :
35
- if struct .calcsize ("P" ) * 8 == 64 :
35
+ if machine == "ARM64" :
36
+ return "win_arm64"
37
+ elif struct .calcsize ("P" ) * 8 == 64 :
36
38
return "win_amd64"
37
39
else :
38
40
return "win32"
You can’t perform that action at this time.
0 commit comments