Skip to content

Commit 8da45d8

Browse files
authored
Use windows-latest in GitHub CI (#81)
* Use windows-latest in workflows * Add step setting up MSVC
1 parent 5ff88df commit 8da45d8

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/conda-package.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ jobs:
7474
path: /usr/share/miniconda/conda-bld/linux-64/${{ env.PACKAGE_NAME }}-*.conda
7575

7676
build_windows:
77-
runs-on: windows-2019
77+
runs-on: windows-latest
7878

7979
strategy:
8080
matrix:
@@ -112,6 +112,9 @@ jobs:
112112
- name: Install conda-build
113113
run: conda install conda-build
114114

115+
- name: Setup MSVC
116+
uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1.13.0
117+
115118
- name: Build conda package
116119
run: conda build --no-test --python ${{ matrix.python }} -c https://software.repos.intel.com/python/conda -c conda-forge --override-channels conda-recipe
117120

@@ -203,7 +206,7 @@ jobs:
203206
matrix:
204207
python: ['3.9', '3.10', '3.11', '3.12', '3.13']
205208
experimental: [false]
206-
runner: [windows-2019]
209+
runner: [windows-latest]
207210
continue-on-error: ${{ matrix.experimental }}
208211
env:
209212
CHANNELS: -c conda-forge -c https://software.repos.intel.com/python/conda --override-channels

0 commit comments

Comments
 (0)