Skip to content

Commit

Permalink
another test - 3
Browse files Browse the repository at this point in the history
  • Loading branch information
cenit committed Sep 26, 2023
1 parent 3a41cf0 commit d1547f5
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ccpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -634,7 +634,7 @@ jobs:
run: ${{ github.workspace }}/scripts/setup.ps1 -InstallCUDA


win-intlibs-cpp:
win-vcpkg-base-cpp:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -643,13 +643,15 @@ jobs:

- name: 'Build'
shell: pwsh
run: ${{ github.workspace }}/build.ps1 -ForceCPP -DisableInteractive -DoNotUpdateTOOL
run: ${{ github.workspace }}/build.ps1 -UseVCPKG -ForceLocalVCPKG -DoNotUpdateVCPKG -ForceCPP -DisableInteractive -DoNotUpdateTOOL

- name: Download yolov4-tiny.weights
run: curl.exe -L https://github.com/AlexeyAB/darknet/releases/download/darknet_yolo_v4_pre/yolov4-tiny.weights -o ${{ github.workspace }}\yolov4-tiny.weights
- name: List directory contents
run: |
ls "${{ github.workspace }}\build_release"
ls "${{ github.workspace }}\cfg"
ls "${{ github.workspace }}\data"
ls "${{ github.workspace }}"
- name: Test kmeansiou
run: ${{ github.workspace }}\kmeansiou.exe
Expand Down
12 changes: 10 additions & 2 deletions .github/workflows/on_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ jobs:
run: ${{ github.workspace }}/scripts/setup.ps1 -InstallCUDA


win-intlibs-cpp:
win-vcpkg-base-cpp:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -395,10 +395,18 @@ jobs:

- name: 'Build'
shell: pwsh
run: ${{ github.workspace }}/build.ps1 -ForceCPP -DisableInteractive -DoNotUpdateTOOL
run: ${{ github.workspace }}/build.ps1 -UseVCPKG -ForceLocalVCPKG -DoNotUpdateVCPKG -ForceCPP -DisableInteractive -DoNotUpdateTOOL

- name: Download yolov4-tiny.weights
run: curl.exe -L https://github.com/AlexeyAB/darknet/releases/download/darknet_yolo_v4_pre/yolov4-tiny.weights -o ${{ github.workspace }}\yolov4-tiny.weights
- name: List directory contents
run: |
ls "${{ github.workspace }}\build_release"
ls "${{ github.workspace }}"
- name: Test kmeansiou
run: ${{ github.workspace }}\kmeansiou.exe
- name: Test darknet
run: ${{ github.workspace }}\darknet.exe
- name: Test on data/dog.jpg
run: ${{ github.workspace }}\build_release\darknet.exe detect ${{ github.workspace }}\cfg\yolov4-tiny.cfg ${{ github.workspace }}\yolov4-tiny.weights ${{ github.workspace }}\data\dog.jpg

Expand Down

0 comments on commit d1547f5

Please sign in to comment.