Update build.yml to disable Python binding under Windows 11 ARM64

This commit is contained in:
mcuee
2026-06-13 21:42:20 +08:00
committed by GitHub
parent f0db889825
commit f1ada8684a

View File

@@ -331,9 +331,9 @@ jobs:
strategy:
matrix:
include:
- { arch: x86, platform: Win32 }
- { arch: x64, platform: x64 }
- { arch: arm64, platform: ARM64 }
- { arch: x86, platform: Win32, extra-cmake-args: "" }
- { arch: x64, platform: x64, extra-cmake-args: "" }
- { arch: arm64, platform: ARM64, extra-cmake-args: "-D SWIG_EXECUTABLE=SWIG_EXECUTABLE-NOTFOUND" }
steps:
- uses: actions/checkout@v6
- name: Install prerequisites
@@ -354,6 +354,7 @@ jobs:
-D CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO="/DEBUG /INCREMENTAL:NO /LTCG /OPT:REF /OPT:ICF"
-D HAVE_LIBREADLINE=HAVE_LIBREADLINE-NOTFOUND
-D USE_EXTERNAL_LIBS=1
${{matrix.extra-cmake-args}}
-B build
- name: Build
run: cmake --build build --config ${{env.BUILD_TYPE}}