Skip to content

Commit c6bb9ad

Browse files
authored
Update build_wheels_windows.yml
1 parent cd34ee4 commit c6bb9ad

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/build_wheels_windows.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
uses: actions/checkout@v4
5252
with:
5353
submodules: false
54-
fetch-depth: 0
54+
fetch-depth: 0
5555
- name: Set up Python ${{ matrix.python-version }}
5656
uses: actions/setup-python@v4
5757
with:
@@ -65,11 +65,10 @@ jobs:
6565
- name: Build a package
6666
# CMake 3.25 regression fix. See https://stackoverflow.com/questions/74162633/problem-compiling-from-source-opencv-with-mvsc2019-in-64-bit-version
6767
run: |
68-
set "VISUAL_STUDIO=17"
6968
python --version
7069
python -m pip install --upgrade pip
7170
python -m pip install --upgrade setuptools
72-
python -m pip install cmake==3.24.2
71+
python -m pip install cmake
7372
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
7473
set "CI_BUILD=1" && python setup.py bdist_wheel --py-limited-api=cp37 --dist-dir=%cd%\wheelhouse -v
7574
shell: cmd

0 commit comments

Comments
 (0)