Skip to content

Commit

Permalink
更新自动构建
Browse files Browse the repository at this point in the history
myHuTao-qwq committed Jul 25, 2024
1 parent da5f866 commit 9377a14
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -8,7 +8,7 @@ on:

jobs:
windows-x64-gpu:
name: vs2019
name: vs2022
runs-on: windows-2022
steps:
- uses: actions/checkout@v3
@@ -19,25 +19,25 @@ jobs:
uses: actions/cache@v3
with:
path: opencv-mobile
key: opencv-mobile-vs2019-v14
key: opencv-mobile-vs2022-v28
- name: opencv-mobile
if: steps.cache-opencv-mobile.outputs.cache-hit != 'true'
run: |
Invoke-WebRequest -Uri https://github.com/nihui/opencv-mobile/releases/download/v14/opencv-mobile-4.5.4-windows-vs2019.zip -OutFile opencv-mobile-4.5.4-windows-vs2019.zip
7z x ./opencv-mobile-4.5.4-windows-vs2019.zip
mv opencv-mobile-4.5.4-windows-vs2019 opencv-mobile
Invoke-WebRequest -Uri https://github.com/nihui/opencv-mobile/releases/download/v28/opencv-mobile-4.10.0-windows-vs2022.zip -OutFile opencv-mobile-4.10.0-windows-vs2022.zip
7z x ./opencv-mobile-4.10.0-windows-vs2022.zip
mv opencv-mobile-4.10.0-windows-vs2022 opencv-mobile
- name: cache-ncnn
id: cache-ncnn
uses: actions/cache@v3
with:
path: ncnn
key: ncnn-windows-vs2019-20220729
key: ncnn-windows-vs2022-20240410
- name: ncnn
if: steps.cache-ncnn.outputs.cache-hit != 'true'
run: |
Invoke-WebRequest -Uri https://github.com/Tencent/ncnn/releases/download/20220729/ncnn-20220729-windows-vs2019.zip -OutFile ncnn-20220729-windows-vs2019.zip
7z x ./ncnn-20220729-windows-vs2019.zip
mv ncnn-20220729-windows-vs2019 ncnn
Invoke-WebRequest -Uri https://github.com/Tencent/ncnn/releases/download/20240410/ncnn-20240410-windows-vs2022.zip -OutFile ncnn-20240410-windows-vs2022.zip
7z x ./ncnn-20240410-windows-vs2022.zip
mv ncnn-20240410-windows-vs2022 ncnn
- name: cache-vulkansdk
id: cache-vulkansdk
uses: actions/cache@v3

0 comments on commit 9377a14

Please sign in to comment.