Skip to content

Commit

Permalink
Remove redundant Win ops and pin to WS2019
Browse files Browse the repository at this point in the history
  • Loading branch information
mlxd committed Aug 11, 2022
1 parent e5755d9 commit dc0d3b1
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/wheel_win_x86_64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [windows-latest]
os: [windows-2019]
py_version: ${{fromJson(needs.win-set-matrix-x86.outputs.matrix)}}
name: ${{ matrix.os }} (Python ${{ fromJson('{ "cp37-*":"3.7","cp38-*":"3.8","cp39-*":"3.9","cp310-*":"3.10" }')[matrix.py_version] }})
runs-on: ${{ matrix.os }}
Expand Down Expand Up @@ -83,11 +83,9 @@ jobs:

- name: Build wheels
run: |
powershell.exe New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem" -Name "LongPathsEnabled" -Value 1 -PropertyType DWORD -Force
git config --system core.longpaths true
Subst Z: (pwd)
Set-Location -Path "Z:\"
python -m pip install wheel cmake==3.21 ninja build
python -m pip install wheel cmake ninja build
python setup.py bdist_wheel
Set-Location -Path ".\dist"
foreach ($i in Get-ChildItem -Path .\*.whl){
Expand Down

0 comments on commit dc0d3b1

Please sign in to comment.