File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1919
2020jobs :
2121 Build :
22- runs-on : windows-2022
22+ runs-on : windows-2019
2323 strategy :
2424 fail-fast : false
2525 matrix :
@@ -61,19 +61,16 @@ jobs:
6161 uses : microsoft/setup-msbuild@v1.1
6262 - name : Setup NASM
6363 uses : ilammy/setup-nasm@v1
64-
6564 - name : Build a package
6665 # CMake 3.25 regression fix. See https://stackoverflow.com/questions/74162633/problem-compiling-from-source-opencv-with-mvsc2019-in-64-bit-version
6766 run : |
68- set "VISUAL_STUDIO=17"
6967 python --version
7068 python -m pip install --upgrade pip
7169 python -m pip install --upgrade setuptools
7270 python -m pip install cmake==3.24.2
7371 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
7472 set "CI_BUILD=1" && python setup.py bdist_wheel --py-limited-api=cp37 --dist-dir=%cd%\wheelhouse -v
7573 shell : cmd
76-
7774 - name : Saving all wheels
7875 uses : actions/upload-artifact@v4
7976 with :
8279
8380 Test :
8481 needs : [Build]
85- runs-on : windows-2022
82+ runs-on : windows-2019
8683 defaults :
8784 run :
8885 shell : cmd
You can’t perform that action at this time.
0 commit comments