Skip to content

Commit

Permalink
remove build actions
Browse files Browse the repository at this point in the history
  • Loading branch information
rainyl committed Oct 14, 2024
1 parent 931cc63 commit e2eba82
Show file tree
Hide file tree
Showing 5 changed files with 45 additions and 393 deletions.
66 changes: 0 additions & 66 deletions .github/workflows/android.yaml

This file was deleted.

174 changes: 0 additions & 174 deletions .github/workflows/apple.yaml

This file was deleted.

45 changes: 45 additions & 0 deletions .github/workflows/coverage.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: coverage

on:
push:
branches: ["main"]
pull_request:
branches: [ "main" ]

jobs:
windows:
name: windows
runs-on: windows-2019
steps:
- uses: actions/checkout@v4
with:
submodules: true
- uses: robinraju/[email protected]
with:
repository: "rainyl/opencv_dart"
tag: "dnn_test_files"
fileName: "models.zip"
out-file-path: "packages/dartcv/test/"
extract: true
- uses: robinraju/[email protected]
with:
repository: "rainyl/dartcv"
latest: true
fileName: "libdartcv-windows-x64-vs2019.tar.gz"
out-file-path: "packages/dartcv/libdartcv"
extract: true
- uses: subosito/flutter-action@v2
with:
channel: "stable"
- name: test coverage
run: |
cd "${{github.workspace}}\packages\dartcv"
$env:PATH="${{github.workspace}}\packages\dartcv\libdartcv\lib;$env:PATH"
dart pub global activate coverage
dart pub global run coverage:test_with_coverage --package . --package-name opencv_dart
- name: Upload to Codecov
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: rainyl/opencv_dart
file: ./coverage/lcov.info
76 changes: 0 additions & 76 deletions .github/workflows/linux.yaml

This file was deleted.

Loading

0 comments on commit e2eba82

Please sign in to comment.