File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change 19
19
20
20
jobs :
21
21
Build :
22
- runs-on : windows-2022
22
+ runs-on : windows-2019
23
23
strategy :
24
24
fail-fast : false
25
25
matrix :
@@ -61,19 +61,16 @@ jobs:
61
61
62
62
- name : Setup NASM
63
63
uses : ilammy/setup-nasm@v1
64
-
65
64
- name : Build a package
66
65
# CMake 3.25 regression fix. See https://stackoverflow.com/questions/74162633/problem-compiling-from-source-opencv-with-mvsc2019-in-64-bit-version
67
66
run : |
68
- set "VISUAL_STUDIO=17"
69
67
python --version
70
68
python -m pip install --upgrade pip
71
69
python -m pip install --upgrade setuptools
72
70
python -m pip install cmake==3.24.2
73
71
python -m pip install toml && python -c "import toml; c = toml.load('pyproject.toml'); print('\n'.join(c['build-system']['requires']))" >> requirements.txt | python -m pip install -r requirements.txt
74
72
set "CI_BUILD=1" && python setup.py bdist_wheel --py-limited-api=cp37 --dist-dir=%cd%\wheelhouse -v
75
73
shell : cmd
76
-
77
74
- name : Saving all wheels
78
75
uses : actions/upload-artifact@v4
79
76
with :
82
79
83
80
Test :
84
81
needs : [Build]
85
- runs-on : windows-2022
82
+ runs-on : windows-2019
86
83
defaults :
87
84
run :
88
85
shell : cmd
You can’t perform that action at this time.
0 commit comments