From 626cbc7933846cd34a3ae1fb8809e0ecec6c8136 Mon Sep 17 00:00:00 2001 From: "M. Scott Ford" Date: Wed, 17 Jul 2024 17:33:49 -0400 Subject: [PATCH] Enables arm64 builds --- .github/workflows/windows.yml | 6 +++--- download_opencv_windows.ps1 | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 243a0f9e5..ac9cd12f7 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -77,9 +77,9 @@ jobs: shell: cmd run: msbuild OpenCvSharp.sln /t:build /p:configuration=Release /p:platform=x86 -maxcpucount - #- name: Build ARM - # shell: cmd - # run: msbuild OpenCvSharp.sln /t:build /p:configuration=Release /p:platform=ARM -maxcpucount + - name: Build ARM64 + shell: cmd + run: msbuild OpenCvSharp.sln /t:build /p:configuration=Release /p:platform=ARM64 -maxcpucount - name: Install .NET uses: actions/setup-dotnet@v4 diff --git a/download_opencv_windows.ps1 b/download_opencv_windows.ps1 index 9b7b038be..019f00b29 100644 --- a/download_opencv_windows.ps1 +++ b/download_opencv_windows.ps1 @@ -3,6 +3,7 @@ $version = "4100" $uriArray = @( "https://github.com/shimat/opencv_files/releases/download/${tag}/opencv${version}_win_x64.zip" "https://github.com/shimat/opencv_files/releases/download/${tag}/opencv${version}_win_x86.zip" + "https://github.com/shimat/opencv_files/releases/download/${tag}/opencv${version}_win_arm64.zip" ) function Download($uri, $outFile) {