Skip to content

Commit a50dfbb

Browse files
committed
Test windows 2019
1 parent 8576454 commit a50dfbb

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

.github/workflows/windows-build.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111
jobs:
1212

1313
windows_build:
14-
runs-on: windows-latest
14+
runs-on: windows-2019
1515

1616
# Only allow one build at a time otherwise we can run out of licenses
1717
concurrency:
@@ -44,13 +44,8 @@ jobs:
4444
run: |
4545
python -m pip install pytest numpy highsbox llvmlite tccbox
4646
47-
- name: Install VS2022 BuildTools 17.9.7
48-
run: choco install -y visualstudio2022buildtools --version=117.9.7.0 --params "--add Microsoft.VisualStudio.Component.VC.Tools.x86.x64 --installChannelUri https://aka.ms/vs/17/release/180911598_-255012421/channel"
49-
5047
- name: Build
5148
run: |
52-
Import-Module 'C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\Common7\Tools\Microsoft.VisualStudio.DevShell.dll'
53-
Enter-VsDevShell -VsInstallPath 'C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools' -DevCmdArguments '-arch=x64 -host_arch=x64'
5449
python -m pip list
5550
python -m pip install nanobind scikit-build-core[pyproject]
5651
python -m pip install --no-build-isolation -v .

0 commit comments

Comments
 (0)