Skip to content

Commit

Permalink
Update continuous_autoTask.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
crack-dawn authored Oct 26, 2024
1 parent 9062410 commit 153e2a9
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/continuous_autoTask.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,29 +20,26 @@ 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
git clone -b ${{ env.VERSION }} --depth=1 https://github.com/opencv/opencv_contrib.git
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
Expand Down

0 comments on commit 153e2a9

Please sign in to comment.