Skip to content

Commit 39da691

Browse files
committed
fixup! Unified windows build
1 parent 1ed6ab2 commit 39da691

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/OCV-PR-Windows.yaml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,11 @@ jobs:
5454
- 'base'
5555
- 'vulkan'
5656
- 'uwp'
57+
include:
58+
- config: 'vulkan'
59+
vulkan: true
60+
- config: 'uwp'
61+
uwp: true
5762

5863
branch: ${{ fromJSON(needs.branch_eval.outputs.branches )}}
5964

@@ -65,8 +70,8 @@ jobs:
6570
-DCL_Z_OPTION=/Z7
6671
-DBUILD_EXAMPLES=ON
6772
-DOPENCV_ENABLE_NONFREE=ON
68-
${{ matrix.config == 'uwp' && '-DCMAKE_SYSTEM_NAME=WindowsStore -DCMAKE_SYSTEM_VERSION=10.0 -DBUILD_opencv_gapi=OFF -DWITH_MSMF=OFF -DBUILD_TESTS=OFF -DBUILD_PERF_TESTS=OFF -DBUILD_EXAMPLES=OFF -DBUILD_opencv_apps=OFF' }}
69-
${{ matrix.config == 'vulcan' && '-DWITH_OPENCL=OFF -DWITH_VULKAN=ON' }}
73+
${{ matrix.uwp && '-DCMAKE_SYSTEM_NAME=WindowsStore -DCMAKE_SYSTEM_VERSION=10.0 -DBUILD_opencv_gapi=OFF -DWITH_MSMF=OFF -DBUILD_TESTS=OFF -DBUILD_PERF_TESTS=OFF -DBUILD_EXAMPLES=OFF -DBUILD_opencv_apps=OFF' }}
74+
${{ matrix.vulcan && '-DWITH_OPENCL=OFF -DWITH_VULKAN=ON' }}
7075
MAIN_BUILD_DIR: "${{ (github.event.repository.name != 'opencv_contrib') && 'build' || 'build-contrib' }}"
7176
OPENCV_FOR_THREADS_NUM: 8
7277
CMAKE_BUILD_PARALLEL_LEVEL: 8

0 commit comments

Comments
 (0)