Skip to content

Commit b832367

Browse files
committed
CI: bump to windows-2022
1 parent a71509a commit b832367

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -152,19 +152,19 @@ jobs:
152152
files: build/openjpeg-*.zip
153153

154154
windows_build:
155-
runs-on: windows-2019
155+
runs-on: windows-2022
156156
if: "!contains(github.event.head_commit.message, '[ci skip]') && !contains(github.event.head_commit.message, '[skip ci]')"
157157

158158
strategy:
159159
matrix:
160160
include:
161-
- VS_VER: 2019
161+
- VS_VER: 2022
162162
OPJ_CI_ARCH: x64
163163
OPJ_CI_INCLUDE_IF_DEPLOY: 1
164-
- VS_VER: 2019
164+
- VS_VER: 2022
165165
OPJ_CI_ARCH: x86
166166
OPJ_CI_INCLUDE_IF_DEPLOY: 1
167-
- VS_VER: 2019
167+
- VS_VER: 2022
168168
OPJ_CI_ARCH: x64
169169
# We do have specific failures noted in tools/travis-ci/knownfailures-windows-vs2015-x64-avx2-Release-3rdP.txt
170170
# not sure why that happens
@@ -190,7 +190,7 @@ jobs:
190190
- name: Set compiler environment
191191
shell: cmd
192192
run: |
193-
if "%VS_VER%" == "2019" CALL "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\Tools\VsDevCmd.bat" -arch=%OPJ_CI_ARCH%
193+
if "%VS_VER%" == "2022" CALL "C:\Program Files (x86)\Microsoft Visual Studio\2022\Enterprise\Common7\Tools\VsDevCmd.bat" -arch=%OPJ_CI_ARCH%
194194
echo PATH=%PATH%>> %GITHUB_ENV%
195195
echo INCLUDE=%INCLUDE%>> %GITHUB_ENV%
196196
echo LIB=%LIB%>> %GITHUB_ENV%

0 commit comments

Comments
 (0)