Skip to content

Commit eb4c69e

Browse files
committed
Use Windows Server 2025 in CircleCI
1 parent 3aee284 commit eb4c69e

1 file changed

Lines changed: 64 additions & 56 deletions

File tree

.circleci/config.yml

Lines changed: 64 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -115,14 +115,22 @@ jobs:
115115

116116
python-windows:
117117
executor:
118-
name: win/default
118+
name: win/server-2025
119119

120120
environment:
121121
<<: *global-environment
122122
CIBW_ARCHS_WINDOWS: AMD64
123123

124124
steps:
125125
- checkout
126+
- run:
127+
name: Install Visual Studio 2026
128+
command: |
129+
Invoke-WebRequest -Uri https://aka.ms/vs/18/release/vs_community.exe -OutFile vs_BuildTools.exe;
130+
Start-Process -FilePath ".\vs_BuildTools.exe" -ArgumentList `
131+
"--quiet", "--wait", "--norestart", "--nocache", `
132+
"--add Microsoft.VisualStudio.Workload.ManagedDesktop", `
133+
"--includeRecommended" -Wait
126134
- run-cibuildwheel
127135

128136
python-sdist:
@@ -357,58 +365,58 @@ jobs:
357365
workflows:
358366
tests:
359367
jobs:
360-
- python-linux:
361-
filters: &tags
362-
# also run on tags so the deploy pipeline works
363-
tags:
364-
only: &version-string /^[0-9]+(\.[0-9]+)*((\.dev|rc)([0-9]+)?)?$/
365-
- python-linux-aarch64:
366-
filters: *tags
367-
- python-linux-debug
368-
- python-macOS:
369-
matrix:
370-
parameters:
371-
cibw-arch: [x86_64, arm64]
372-
filters: *tags
373-
- python-windows:
374-
filters: *tags
375-
- python-sdist:
376-
filters: *tags
377-
- python-dependencies:
378-
name: python-dependencies-oldest
379-
python-version: "3.10"
380-
dependency-versions: numpy==1.21.3
381-
optional-dependency-versions: dimod==0.12.0 scikit-learn==1.6.0
382-
requires:
383-
- python-linux
384-
- python-dependencies:
385-
name: python-dependencies-latest
386-
python-version: "3.14"
387-
dependency-versions: numpy
388-
optional-dependency-versions: dimod scikit-learn
389-
requires:
390-
- python-linux
391-
- cpp-gcc:
392-
name: cpp-gcc-<< matrix.gcc-version >>
393-
matrix:
394-
parameters:
395-
gcc-version: ["12", "latest"]
396-
- cpp-macOS
397-
- serialization:
398-
requires:
399-
- python-linux
400-
- docs:
401-
requires:
402-
- python-linux
403-
- deploy:
404-
filters:
405-
tags:
406-
only: *version-string
407-
branches:
408-
ignore: /.*/
409-
requires:
410-
- python-linux
411-
- python-linux-aarch64
412-
- python-macOS
413-
- python-windows
414-
- python-sdist
368+
# - python-linux:
369+
# filters: &tags
370+
# # also run on tags so the deploy pipeline works
371+
# tags:
372+
# only: &version-string /^[0-9]+(\.[0-9]+)*((\.dev|rc)([0-9]+)?)?$/
373+
# - python-linux-aarch64:
374+
# filters: *tags
375+
# - python-linux-debug
376+
# - python-macOS:
377+
# matrix:
378+
# parameters:
379+
# cibw-arch: [x86_64, arm64]
380+
# filters: *tags
381+
- python-windows
382+
# filters: *tags
383+
# - python-sdist:
384+
# filters: *tags
385+
# - python-dependencies:
386+
# name: python-dependencies-oldest
387+
# python-version: "3.10"
388+
# dependency-versions: numpy==1.21.3
389+
# optional-dependency-versions: dimod==0.12.0 scikit-learn==1.6.0
390+
# requires:
391+
# - python-linux
392+
# - python-dependencies:
393+
# name: python-dependencies-latest
394+
# python-version: "3.14"
395+
# dependency-versions: numpy
396+
# optional-dependency-versions: dimod scikit-learn
397+
# requires:
398+
# - python-linux
399+
# - cpp-gcc:
400+
# name: cpp-gcc-<< matrix.gcc-version >>
401+
# matrix:
402+
# parameters:
403+
# gcc-version: ["12", "latest"]
404+
# - cpp-macOS
405+
# - serialization:
406+
# requires:
407+
# - python-linux
408+
# - docs:
409+
# requires:
410+
# - python-linux
411+
# - deploy:
412+
# filters:
413+
# tags:
414+
# only: *version-string
415+
# branches:
416+
# ignore: /.*/
417+
# requires:
418+
# - python-linux
419+
# - python-linux-aarch64
420+
# - python-macOS
421+
# - python-windows
422+
# - python-sdist

0 commit comments

Comments
 (0)