Skip to content

Commit 9dc9298

Browse files
geographikajmckenna
authored andcommitted
Update to Windows Server 2022 and VS 2022
1 parent 8a1a40c commit 9dc9298

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/build-windows.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
build-matrix:
77
strategy:
88
matrix:
9-
os: [ windows-2019 ]
9+
os: [ windows-2022 ]
1010
option: [ default ]
1111
runs-on: ${{matrix.os}}
1212
steps:
@@ -18,9 +18,9 @@ jobs:
1818
Set-Location -Path "${{github.workspace}}"
1919
New-Item -Path . -Name "sdk" -ItemType "directory"
2020
Set-Location -Path "sdk"
21-
curl -O https://download.gisinternals.com/sdk/downloads/release-1928-x64-dev.zip
22-
unzip -qq release-1928-x64-dev.zip
23-
$sdkprefix = "${{github.workspace}}\sdk\release-1928-x64"
21+
curl -O https://download.gisinternals.com/sdk/downloads/release-1930-x64-dev.zip
22+
unzip -qq release-1930-x64-dev.zip
23+
$sdkprefix = "${{github.workspace}}\sdk\release-1930-x64"
2424
Set-Location -Path "$sdkprefix\lib"
2525
Copy-Item -Path "libfcgi.lib" -Destination "fcgi.lib"
2626
Copy-Item -Path "apr-1.lib" -Destination "apr-1-1.lib"
@@ -30,7 +30,7 @@ jobs:
3030
3131
- name: Build MapCache
3232
run: |
33-
$sdkprefix = "${{github.workspace}}\sdk\release-1928-x64"
33+
$sdkprefix = "${{github.workspace}}\sdk\release-1930-x64"
3434
Set-Location -Path "${{github.workspace}}"
3535
New-Item -Path . -Name "build" -ItemType "directory"
3636
Set-Location -Path "build"
@@ -49,7 +49,7 @@ jobs:
4949

5050
- name: Setup tests
5151
run: |
52-
$sdkprefix = "${{github.workspace}}\sdk\release-1928-x64"
52+
$sdkprefix = "${{github.workspace}}\sdk\release-1930-x64"
5353
Set-Location -Path "${{github.workspace}}\build"
5454
Copy-Item -Path "..\tests\data\world.tif" -Destination .
5555
New-Item -Path "mapcache.xml"
@@ -80,7 +80,7 @@ jobs:
8080
8181
- name: Run tests
8282
run: |
83-
$sdkprefix = "${{github.workspace}}\sdk\release-1928-x64"
83+
$sdkprefix = "${{github.workspace}}\sdk\release-1930-x64"
8484
Set-Location -Path "$sdkprefix\bin"
8585
$env:GDAL_DATA = "$sdkprefix\bin\gdal-data"
8686
$env:PROJ_LIB = "$sdkprefix\bin\proj9\share"

0 commit comments

Comments
 (0)