Skip to content

Commit 1e075b0

Browse files
authored
Update list of supported Python versions in Windows Mega Pack. (#173)
1 parent fef6ec1 commit 1e075b0

File tree

1 file changed

+26
-13
lines changed

1 file changed

+26
-13
lines changed

.github/workflows/OCV-WinPack-4.x-W10.yaml

+26-13
Original file line numberDiff line numberDiff line change
@@ -56,19 +56,6 @@ jobs:
5656
cd ${{ github.workspace }}\build
5757
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat"
5858
cmake --build . --config release --target install -- /maxcpucount:%PARALLEL_JOBS% /consoleloggerparameters:NoSummary
59-
- name: Cmake py35
60-
timeout-minutes: 60
61-
run: |
62-
set PATH=c:\\Python-3.5\\;c:\\Python-3.5\\Scripts\\;%PATH%
63-
mkdir ${{ github.workspace }}\build\python_35 && cd ${{ github.workspace }}\build\python_35
64-
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat"
65-
cmake -G ^"Visual Studio 16 2019^" -DOpenCV_BINARY_DIR=${{ github.workspace }}\build ../../opencv/modules/python
66-
- name: Compile py35
67-
timeout-minutes: 60
68-
run: |
69-
cd ${{ github.workspace }}\build\python_35
70-
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat"
71-
cmake --build . --config release --target install -- /maxcpucount:%PARALLEL_JOBS% /consoleloggerparameters:NoSummary
7259
- name: Cmake py36
7360
timeout-minutes: 60
7461
run: |
@@ -134,6 +121,32 @@ jobs:
134121
cd ${{ github.workspace }}\build\python_310
135122
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat"
136123
cmake --build . --config release --target install -- /maxcpucount:%PARALLEL_JOBS% /consoleloggerparameters:NoSummary
124+
- name: Cmake py311
125+
timeout-minutes: 60
126+
run: |
127+
set PATH=c:\\Python-3.11\\;c:\\Python-3.11\\Scripts\\;%PATH%
128+
mkdir ${{ github.workspace }}\build\python_311 && cd ${{ github.workspace }}\build\python_311
129+
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat"
130+
cmake -G ^"Visual Studio 16 2019^" -DOpenCV_BINARY_DIR=${{ github.workspace }}\build ../../opencv/modules/python
131+
- name: Compile py311
132+
timeout-minutes: 60
133+
run: |
134+
cd ${{ github.workspace }}\build\python_311
135+
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat"
136+
cmake --build . --config release --target install -- /maxcpucount:%PARALLEL_JOBS% /consoleloggerparameters:NoSummary
137+
- name: Cmake py312
138+
timeout-minutes: 60
139+
run: |
140+
set PATH=c:\\Python-3.12\\;c:\\Python-3.12\\Scripts\\;%PATH%
141+
mkdir ${{ github.workspace }}\build\python_312 && cd ${{ github.workspace }}\build\python_312
142+
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat"
143+
cmake -G ^"Visual Studio 16 2019^" -DOpenCV_BINARY_DIR=${{ github.workspace }}\build ../../opencv/modules/python
144+
- name: Compile py312
145+
timeout-minutes: 60
146+
run: |
147+
cd ${{ github.workspace }}\build\python_312
148+
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat"
149+
cmake --build . --config release --target install -- /maxcpucount:%PARALLEL_JOBS% /consoleloggerparameters:NoSummary
137150
- name: Pack shared
138151
timeout-minutes: 60
139152
run: |

0 commit comments

Comments
 (0)