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 34c2309 commit 9062410
Showing 1 changed file with 14 additions and 9 deletions.
23 changes: 14 additions & 9 deletions .github/workflows/continuous_autoTask.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,25 +20,30 @@ 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: compile opencv
- name: download 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 .
- name: Windows artefact
cmake --install ../install
- name: Windows opencv artefact1
uses: actions/upload-artifact@v4
with:
name: OpenCV_${{ env.VERSION }}
path: ./opencv/build/install/

name: OpenCV_${{ env.VERSION }}_MinGW_Install
path: ./opencv/install/
- name: Windows opencv artefact2
uses: actions/upload-artifact@v4
with:
name: OpenCV_${{ env.VERSION }}_MinGW_Full
path: ./opencv/

0 comments on commit 9062410

Please sign in to comment.