Skip to content

Upgrade dependencies #39

Upgrade dependencies

Upgrade dependencies #39

Workflow file for this run

name: Windows Client
on:
push:
branches:
- main
paths:
- .github/workflows/windows.yaml
- lib/**
- windows/**
- pubspec.yaml
- pubspec.lock
jobs:
Build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- uses: subosito/flutter-action@v2
with:
channel: beta
- name: Setup OpenCV
run: |
Start-BitsTransfer -Source "https://github.com/opencv/opencv/releases/download/4.10.0/opencv-4.10.0-windows.exe" -Destination ".\third_party\opencv.exe"
Start-Process -FilePath .\third_party\opencv.exe -ArgumentList "-y" -Wait
Move-Item .\third_party\opencv\build .\third_party\opencv-windows\build
- name: Build
run: |
git config --global core.longpaths true
flutter build windows --release
Move-Item .\third_party\opencv-windows\build\x64\vc16\bin\opencv_world4100.dll .\build\windows\x64\runner\Release\opencv_world4100.dll
- uses: actions/upload-artifact@v4
with:
name: SnakeEye-win
path: build/windows/runner/Release