@@ -60,33 +60,26 @@ jobs:
60
60
$env:GDAL_DATA = "$sdkprefix\bin\gdal-data"
61
61
$env:PROJ_LIB = "$sdkprefix\bin\proj7\share"
62
62
.\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)
64
65
$match
65
- Copy-Item -Path "${{ github.workspace }}\build\global\GoogleMapsCompatible\00\000\000\000\000\000\000.jpg" -Destination "${{ github.workspace }}\0.jpg"
66
66
$env:MAPCACHE_CONFIG_FILE = "${{ github.workspace }}\build\mapcache.xml"
67
- $env:PATH_INFO = "/"
68
67
$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
80
77
.\mapcache_detail.exe --help
81
78
82
79
- name : Upload artifacts
83
80
uses : actions/upload-artifact@v2
84
81
with :
85
82
name : test-data
86
83
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