Skip to content

Commit

Permalink
Enables arm64 builds
Browse files Browse the repository at this point in the history
  • Loading branch information
mscottford committed Jul 17, 2024
1 parent bfdfb62 commit 626cbc7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions download_opencv_windows.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 626cbc7

Please sign in to comment.