From 153e2a994e14789975ea166041a9f960d289966b Mon Sep 17 00:00:00 2001 From: Secure <99880684+crack-dawn@users.noreply.github.com> Date: Sat, 26 Oct 2024 10:02:47 +0800 Subject: [PATCH] Update continuous_autoTask.yml --- .github/workflows/continuous_autoTask.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/continuous_autoTask.yml b/.github/workflows/continuous_autoTask.yml index a6afe06..2136f19 100644 --- a/.github/workflows/continuous_autoTask.yml +++ b/.github/workflows/continuous_autoTask.yml @@ -20,7 +20,7 @@ jobs: pip install aqtinstall python3 -m aqt install-tool -O ${{ github.workspace }}/Qt/ windows desktop tools_mingw1310 echo "${{ github.workspace }}/Qt/Tools/mingw1310_64/bin/" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append - - name: download opencv + - name: download-compile-install-opencv shell: cmd run: | choco install git cmake tbb @@ -28,21 +28,18 @@ jobs: git clone https://github.com/opencv/opencv.git cd opencv git checkout ${{ env.VERSION }} - - name: compile opencv - shell: cmd - run: | mkdir build mkdir install cd build cmake -DWITH_OPENMP=ON -DWITH_OPENCL=ON -DWITH_OPENGL=ON -DWITH_TBB=ON -DWITH_VULKAN=ON -DWITH_QT=OFF -DBUILD_WITH_DEBUG_INFO=OFF -DBUILD_TESTS=OFF -DBUILD_PERF_TESTS=OFF -DBUILD_EXAMPLES=OFF -DBUILD_PROTOBUF=OFF -DPROTOBUF_UPDATE_FILES=ON -DINSTALL_C_EXAMPLES=OFF -DINSTALL_PYTHON_EXAMPLES=ON -DCPU_BASELINE_DISABLE=SSE3 -DCPU_BASELINE_REQUIRE=SSE2 -DOPENCV_SKIP_PYTHON_LOADER=ON -DOPENCV_ENABLE_NONFREE=ON -DBUILD_opencv_world=ON -G "MinGW Makefiles" -DOPENCV_EXTRA_MODULES_PATH=../../opencv_contrib/modules -DCMAKE_CXX_COMPILER=g++ ..\ cmake --build . --config Release cmake --install ../install - - name: Windows opencv artefact1 + - name: Windows-upload opencv artefact1 uses: actions/upload-artifact@v4 with: name: OpenCV_${{ env.VERSION }}_MinGW_Install path: ./opencv/install/ - - name: Windows opencv artefact2 + - name: Windows-upload opencv artefact2 uses: actions/upload-artifact@v4 with: name: OpenCV_${{ env.VERSION }}_MinGW_Full