Skip to content

Commit 9bbf19c

Browse files
authored
Merge pull request #262 from rainyl/split-dartcv
Support local build, support ffmpeg for windows, linux, macos, android
2 parents d706f22 + 167c105 commit 9bbf19c

File tree

701 files changed

+42011
-79165
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

701 files changed

+42011
-79165
lines changed

.github/workflows/android.yaml

Lines changed: 0 additions & 63 deletions
This file was deleted.

.github/workflows/apple.yaml

Lines changed: 0 additions & 174 deletions
This file was deleted.

.github/workflows/coverage.yaml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
name: coverage
2+
3+
on:
4+
push:
5+
branches: ["main"]
6+
pull_request:
7+
branches: [ "main" ]
8+
9+
jobs:
10+
windows:
11+
name: windows
12+
runs-on: windows-2019
13+
steps:
14+
- uses: actions/checkout@v4
15+
with:
16+
submodules: true
17+
- uses: robinraju/[email protected]
18+
with:
19+
repository: "rainyl/opencv_dart"
20+
tag: "dnn_test_files"
21+
fileName: "models.zip"
22+
out-file-path: "packages/dartcv/test/"
23+
extract: true
24+
- uses: robinraju/[email protected]
25+
with:
26+
repository: "rainyl/dartcv"
27+
latest: true
28+
fileName: "libdartcv-windows-x64-vs2019.tar.gz"
29+
out-file-path: "packages/dartcv/libdartcv"
30+
extract: true
31+
- uses: subosito/flutter-action@v2
32+
with:
33+
channel: "stable"
34+
- name: test coverage
35+
run: |
36+
cd "${{github.workspace}}\packages\dartcv"
37+
$env:PATH="${{github.workspace}}\packages\dartcv\libdartcv\lib;$env:PATH"
38+
dart pub global activate coverage
39+
dart pub global run coverage:test_with_coverage --package . --package-name dartcv
40+
- name: Upload to Codecov
41+
uses: codecov/[email protected]
42+
with:
43+
token: ${{ secrets.CODECOV_TOKEN }}
44+
slug: rainyl/opencv_dart
45+
file: ./coverage/lcov.info

0 commit comments

Comments
 (0)