Skip to content

Commit 9e3ca5a

Browse files
authored
Merge pull request #69 from IntelPython/update-windows
Update Windows version used by GitHub CI
2 parents 2120ef4 + 61e17e3 commit 9e3ca5a

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

.github/workflows/conda-package-cf.yml

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

6464
build_windows:
65-
runs-on: windows-2019
65+
runs-on: windows-latest
6666

6767
strategy:
6868
matrix:
@@ -92,6 +92,8 @@ jobs:
9292
${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-
9393
- name: Install conda-build
9494
run: conda install conda-build
95+
- name: Setup MSVC
96+
uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1.13.0
9597
- name: Build conda package
9698
run: conda build --no-test --python ${{ matrix.python }} --numpy 2.0 -c conda-forge --override-channels conda-recipe-cf
9799
- name: Upload artifact
@@ -177,7 +179,7 @@ jobs:
177179
python: ["3.9", "3.10", "3.11", "3.12"]
178180
numpy: ["1.26*", "2*"]
179181
experimental: [false]
180-
runner: [windows-2019]
182+
runner: [windows-latest]
181183
continue-on-error: ${{ matrix.experimental }}
182184
env:
183185
CHANNELS: -c conda-forge --override-channels

.github/workflows/conda-package.yml

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

6464
build_windows:
65-
runs-on: windows-2019
65+
runs-on: windows-latest
6666

6767
strategy:
6868
matrix:
@@ -92,6 +92,8 @@ jobs:
9292
${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-
9393
- name: Install conda-build
9494
run: conda install conda-build
95+
- name: Setup MSVC
96+
uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1.13.0
9597
- name: Build conda package
9698
run: conda build --no-test --python ${{ matrix.python }} -c https://software.repos.intel.com/python/conda -c conda-forge --override-channels conda-recipe
9799
- name: Upload artifact
@@ -177,7 +179,7 @@ jobs:
177179
python: ["3.9", "3.10", "3.11", "3.12"]
178180
numpy: ['1.26*']
179181
experimental: [false]
180-
runner: [windows-2019]
182+
runner: [windows-latest]
181183
continue-on-error: ${{ matrix.experimental }}
182184
env:
183185
CHANNELS: -c conda-forge -c https://software.repos.intel.com/python/conda --override-channels

0 commit comments

Comments
 (0)