@@ -60,33 +60,26 @@ jobs:
6060 $env:GDAL_DATA = "$sdkprefix\bin\gdal-data"
6161 $env:PROJ_LIB = "$sdkprefix\bin\proj7\share"
6262 .\mapcache_seed.exe -c "${{ github.workspace }}\build\mapcache.xml" -t global --force -z 0,1
63- $match = (.\gdal\apps\gdalinfo.exe -checksum "${{ github.workspace }}\build\global\GoogleMapsCompatible\00\000\000\000\000\000\000.jpg" | Select-String -CaseSensitive -Pattern "Checksum=21336" -Quiet)
63+ Copy-Item -Path "${{ github.workspace }}\build\global\GoogleMapsCompatible\00\000\000\000\000\000\000.jpg" -Destination "${{ github.workspace }}\seed.jpg"
64+ $match = (.\gdal\apps\gdalinfo.exe -checksum "${{ github.workspace }}\seed.jpg" | Select-String -CaseSensitive -Pattern "Checksum=21336" -Quiet)
6465 $match
65- Copy-Item -Path "${{ github.workspace }}\build\global\GoogleMapsCompatible\00\000\000\000\000\000\000.jpg" -Destination "${{ github.workspace }}\0.jpg"
6666 $env:MAPCACHE_CONFIG_FILE = "${{ github.workspace }}\build\mapcache.xml"
67- $env:PATH_INFO = "/"
6867 $env:REQUEST_METHOD = "GET"
69- $env:QUERY_STRING = "SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&FORMAT=image/jpeg&SRS=EPSG:3857&BBOX=-20000000,-20000000,20000000,20000000&WIDTH=256&HEIGHT=256&LAYERS=global&TRANSPARENT=TRUE"
70- Start-Process -FilePath ".\mapcache.fcgi.exe" -RedirectStandardOutput "${{ github.workspace }}\build\fcgi-0.out" -NoNewWindow -Wait
71- Copy-Item -Path "${{ github.workspace }}\build\fcgi-0.out" -Destination "${{ github.workspace }}\build\fcgi.jpg"
72- perl.exe -0777 -pi -e 'binmode ARV;binmode ARGVOUT;s/[A-Z][-:; ,\/=A-Za-z0-9]*\r\n//g;s/\r\n//' "${{ github.workspace }}\build\fcgi.jpg"
73- Copy-Item -Path "${{ github.workspace }}\build\fcgi-0.out" -Destination "${{ github.workspace }}\build\fcgi-1.out"
74- Copy-Item -Path "${{ github.workspace }}\build\fcgi-1.out" -Destination "${{ github.workspace }}\build\fcgi-2.out"
75- perl.exe -0777 -pi -e 'binmode ARV;binmode ARGVOUT;s/[A-Z][-:; ,\/=A-Za-z0-9]*\r\n//g' "${{ github.workspace }}\build\fcgi-2.out"
76- Copy-Item -Path "${{ github.workspace }}\build\fcgi-2.out" -Destination "${{ github.workspace }}\build\fcgi-3.out"
77- perl.exe -0777 -pi -e 'binmode ARV;binmode ARGVOUT;s/\n//' "${{ github.workspace }}\build\fcgi-3.out"
78- .\gdal\apps\gdalinfo.exe -checksum "${{ github.workspace }}\build\fcgi-3.out"
79- .\mapcache_seed.exe -h
68+ #$env:PATH_INFO = "/"
69+ #$env:QUERY_STRING = "SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&FORMAT=image/jpeg&SRS=EPSG:3857&BBOX=-20000000,-20000000,20000000,20000000&WIDTH=256&HEIGHT=256&LAYERS=global&TRANSPARENT=TRUE"
70+ $env:PATH_INFO = "/wmts/1.0.0/global/default/GoogleMapsCompatible/0/0/0.jpg"
71+ $env:QUERY_STRING = ""
72+ Start-Process -FilePath ".\mapcache.fcgi.exe" -RedirectStandardOutput "${{ github.workspace }}\fcgi.jpg" -NoNewWindow -Wait
73+ perl.exe -0777 -pi -e 'binmode ARV;binmode ARGVOUT;s/[A-Z][-:; ,\/=A-Za-z0-9]*\r\n//g;s/\r\n//' "${{ github.workspace }}\fcgi.jpg"
74+ .\gdal\apps\gdalinfo.exe -checksum "${{ github.workspace }}\fcgi.jpg"
75+ $match = (.\gdal\apps\gdalinfo.exe -checksum "${{ github.workspace }}\fcgi.jpg" | Select-String -CaseSensitive -Pattern "Checksum=21336" -Quiet)
76+ $match
8077 .\mapcache_detail.exe --help
8178
8279 - name : Upload artifacts
8380 uses : actions/upload-artifact@v2
8481 with :
8582 name : test-data
8683 path : |
87- 0.jpg
88- build/fcgi-0.out
89- build/fcgi-1.out
90- build/fcgi-2.out
91- build/fcgi-3.out
92- build/fcgi.jpg
84+ seed.jpg
85+ fcgi.jpg
0 commit comments